aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/prism54
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/prism54
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/prism54')
-rw-r--r--drivers/net/wireless/prism54/isl_ioctl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/wireless/prism54/isl_ioctl.c b/drivers/net/wireless/prism54/isl_ioctl.c
index 6d80ca421cf0..b9d00730a68d 100644
--- a/drivers/net/wireless/prism54/isl_ioctl.c
+++ b/drivers/net/wireless/prism54/isl_ioctl.c
@@ -1118,7 +1118,7 @@ prism54_set_encode(struct net_device *ndev, struct iw_request_info *info,
1118 mgt_set_request(priv, DOT11_OID_DEFKEYID, 0, 1118 mgt_set_request(priv, DOT11_OID_DEFKEYID, 0,
1119 &index); 1119 &index);
1120 } else { 1120 } else {
1121 if (!dwrq->flags & IW_ENCODE_MODE) { 1121 if (!(dwrq->flags & IW_ENCODE_MODE)) {
1122 /* we cannot do anything. Complain. */ 1122 /* we cannot do anything. Complain. */
1123 return -EINVAL; 1123 return -EINVAL;
1124 } 1124 }
@@ -2610,7 +2610,7 @@ prism2_ioctl_set_encryption(struct net_device *dev,
2610 mgt_set_request(priv, DOT11_OID_DEFKEYID, 0, 2610 mgt_set_request(priv, DOT11_OID_DEFKEYID, 0,
2611 &index); 2611 &index);
2612 } else { 2612 } else {
2613 if (!param->u.crypt.flags & IW_ENCODE_MODE) { 2613 if (!(param->u.crypt.flags & IW_ENCODE_MODE)) {
2614 /* we cannot do anything. Complain. */ 2614 /* we cannot do anything. Complain. */
2615 return -EINVAL; 2615 return -EINVAL;
2616 } 2616 }