mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-13 00:00:00 -04:00
qcacld-3.0: Fix type mismatch in bitwise operator
qcacld-2.0 to qcacld-3.0 propagation. Type mismatch is present in bitwise operation for TDLS specific variables in hdd_update_tgt_services. Change bitwise operation to logical as the variable in question is used like a flag and not as a bitfield. Change-Id: I63692816d0f4d867206a3d6b07363bbb054c6062 CRs-Fixed: 1017937 (cherry picked from commit d3e615b8fa6bcc58321ccc670b797fea7467ffc4)
This commit is contained in:
parent
75c2f97be4
commit
fdd2ac755d
1 changed files with 4 additions and 2 deletions
|
|
@ -839,8 +839,10 @@ static void hdd_update_tgt_services(hdd_context_t *hdd_ctx,
|
|||
#endif
|
||||
#ifdef FEATURE_WLAN_TDLS
|
||||
config->fEnableTDLSSupport &= cfg->en_tdls;
|
||||
config->fEnableTDLSOffChannel &= cfg->en_tdls_offchan;
|
||||
config->fEnableTDLSBufferSta &= cfg->en_tdls_uapsd_buf_sta;
|
||||
config->fEnableTDLSOffChannel = config->fEnableTDLSOffChannel &&
|
||||
cfg->en_tdls_offchan;
|
||||
config->fEnableTDLSBufferSta = config->fEnableTDLSBufferSta &&
|
||||
cfg->en_tdls_uapsd_buf_sta;
|
||||
if (config->fTDLSUapsdMask && cfg->en_tdls_uapsd_sleep_sta) {
|
||||
config->fEnableTDLSSleepSta = true;
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Reference in a new issue