diff options
author | Roel Kluin | 2009-12-23 02:36:43 +0100 |
---|---|---|
committer | Greg Kroah-Hartman | 2010-03-04 01:42:34 +0100 |
commit | 716323c09319ae5e6c9e413a6378d61a77b26996 (patch) | |
tree | 5524bccff39d0f5073d8ef9b42c0845daa6dfec5 /drivers | |
parent | staging: add Broadcom Crystal HD driver (diff) | |
download | kernel-qcow2-linux-716323c09319ae5e6c9e413a6378d61a77b26996.tar.gz kernel-qcow2-linux-716323c09319ae5e6c9e413a6378d61a77b26996.tar.xz kernel-qcow2-linux-716323c09319ae5e6c9e413a6378d61a77b26996.zip |
Staging: rtl8192u: ieee80211: add missing parentheses
not(!) has a higher precedence than bit and(&).
Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/staging/rtl8192u/ieee80211/ieee80211_wx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/rtl8192u/ieee80211/ieee80211_wx.c b/drivers/staging/rtl8192u/ieee80211/ieee80211_wx.c index da2449d290cb..c0b2c02b0ac4 100644 --- a/drivers/staging/rtl8192u/ieee80211/ieee80211_wx.c +++ b/drivers/staging/rtl8192u/ieee80211/ieee80211_wx.c @@ -718,7 +718,7 @@ int ieee80211_wx_get_encode_ext(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; |