aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/libertas/wext.c
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 /drivers/net/wireless/libertas/wext.c
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 'drivers/net/wireless/libertas/wext.c')
-rw-r--r--drivers/net/wireless/libertas/wext.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/libertas/wext.c b/drivers/net/wireless/libertas/wext.c
index 135116d90703..4dec5e5565bb 100644
--- a/drivers/net/wireless/libertas/wext.c
+++ b/drivers/net/wireless/libertas/wext.c
@@ -1398,7 +1398,7 @@ static int wlan_get_encodeext(struct net_device *dev,
1398 index = adapter->wep_tx_keyidx; 1398 index = adapter->wep_tx_keyidx;
1399 } 1399 }
1400 1400
1401 if (!ext->ext_flags & IW_ENCODE_EXT_GROUP_KEY && 1401 if (!(ext->ext_flags & IW_ENCODE_EXT_GROUP_KEY) &&
1402 ext->alg != IW_ENCODE_ALG_WEP) { 1402 ext->alg != IW_ENCODE_ALG_WEP) {
1403 if (index != 0 || adapter->mode != IW_MODE_INFRA) 1403 if (index != 0 || adapter->mode != IW_MODE_INFRA)
1404 goto out; 1404 goto out;