mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 03:27:44 -04:00
wireless: fix '!x & y' typo's
Fix priority mistakes similar to '!x & y' Signed-off-by: Roel Kluin <[email protected]> Signed-off-by: John W. Linville <[email protected]>
This commit is contained in:
parent
9f9dac281b
commit
f59d978275
7 changed files with 8 additions and 8 deletions
|
|
@ -709,7 +709,7 @@ int ieee80211_wx_get_encodeext(struct ieee80211_device *ieee,
|
|||
} else
|
||||
idx = ieee->tx_keyidx;
|
||||
|
||||
if (!ext->ext_flags & IW_ENCODE_EXT_GROUP_KEY &&
|
||||
if (!(ext->ext_flags & IW_ENCODE_EXT_GROUP_KEY) &&
|
||||
ext->alg != IW_ENCODE_ALG_WEP)
|
||||
if (idx != 0 || ieee->iw_mode != IW_MODE_INFRA)
|
||||
return -EINVAL;
|
||||
|
|
|
|||
Loading…
Reference in a new issue