aboutsummaryrefslogtreecommitdiffstats
path: root/net/ieee80211
diff options
context:
space:
mode:
authorRoel Kluin <12o3l@tiscali.nl>2007-10-26 15:51:26 -0400
committerDavid S. Miller <davem@davemloft.net>2008-01-28 18:03:35 -0500
commitf59d9782751bf1a2c51e7e1e9f614ffec35fb52e (patch)
treee994472272f4c9d598df9ab43ce393bdad56bfc4 /net/ieee80211
parent9f9dac281ba2acd3d6d3574076f86b8f99aaebc0 (diff)
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,
709 } else 709 } else
710 idx = ieee->tx_keyidx; 710 idx = ieee->tx_keyidx;
711 711
712 if (!ext->ext_flags & IW_ENCODE_EXT_GROUP_KEY && 712 if (!(ext->ext_flags & IW_ENCODE_EXT_GROUP_KEY) &&
713 ext->alg != IW_ENCODE_ALG_WEP) 713 ext->alg != IW_ENCODE_ALG_WEP)
714 if (idx != 0 || ieee->iw_mode != IW_MODE_INFRA) 714 if (idx != 0 || ieee->iw_mode != IW_MODE_INFRA)
715 return -EINVAL; 715 return -EINVAL;