mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-08 21:22:09 -04:00
qcacmn: Fix bitwise comparison issue
When the option -Werror=tautological-compare is enabled, the compiler reports error because bitwise comparison always evaluates to false. Change-Id: I7532dc9bccb69e02be5f04897a6ecaff44e84a0d CRs-Fixed: 2734883
This commit is contained in:
parent
f103f00807
commit
1123940de7
1 changed files with 1 additions and 1 deletions
|
|
@ -1276,7 +1276,7 @@ target_if_peer_capture_event(ol_scn_t sc, uint8_t *data, uint32_t datalen)
|
|||
|
||||
target_type = target_if_cfr_get_target_type(psoc);
|
||||
|
||||
if ((tx_evt_param.status & PEER_CFR_CAPTURE_EVT_PS_STATUS_MASK) == 1) {
|
||||
if (tx_evt_param.status & PEER_CFR_CAPTURE_EVT_PS_STATUS_MASK) {
|
||||
cfr_err("CFR capture failed as peer is in powersave: "
|
||||
QDF_MAC_ADDR_STR,
|
||||
QDF_MAC_ADDR_ARRAY(tx_evt_param.peer_mac_addr.bytes));
|
||||
|
|
|
|||
Loading…
Reference in a new issue