summaryrefslogtreecommitdiffstats
path: root/net/ieee80211
diff options
context:
space:
mode:
authorRoel Kluin <12o3l@tiscali.nl>2007-10-26 21:51:26 +0200
committerDavid S. Miller <davem@davemloft.net>2008-01-29 00:03:35 +0100
commitf59d9782751bf1a2c51e7e1e9f614ffec35fb52e (patch)
treee994472272f4c9d598df9ab43ce393bdad56bfc4 /net/ieee80211
parentlibertas: move wlan_*_association_work from header to c file (diff)
downloadlinux-f59d9782751bf1a2c51e7e1e9f614ffec35fb52e.tar.xz
linux-f59d9782751bf1a2c51e7e1e9f614ffec35fb52e.zip
wireless: fix '!x & y' typo's
Fix priority mistakes similar to '!x & y' Signed-off-by: Roel Kluin <12o3l@tiscali.nl> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/ieee80211')
-rw-r--r--net/ieee80211/ieee80211_wx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ieee80211/ieee80211_wx.c b/net/ieee80211/ieee80211_wx.c
index d309e8f19992..623489afa62c 100644
--- a/net/ieee80211/ieee80211_wx.c
+++ b/net/ieee80211/ieee80211_wx.c
@@ -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;