aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/airo.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/wireless/airo.c')
-rw-r--r--drivers/net/wireless/airo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/airo.c b/drivers/net/wireless/airo.c
index 074055e18c5c..e3eca6d047c7 100644
--- a/drivers/net/wireless/airo.c
+++ b/drivers/net/wireless/airo.c
@@ -6407,7 +6407,7 @@ static int airo_set_encode(struct net_device *dev,
6407 set_wep_key(local, index, NULL, 0, perm, 1); 6407 set_wep_key(local, index, NULL, 0, perm, 1);
6408 } else 6408 } else
6409 /* Don't complain if only change the mode */ 6409 /* Don't complain if only change the mode */
6410 if(!dwrq->flags & IW_ENCODE_MODE) { 6410 if(!(dwrq->flags & IW_ENCODE_MODE)) {
6411 return -EINVAL; 6411 return -EINVAL;
6412 } 6412 }
6413 } 6413 }