diff options
Diffstat (limited to 'drivers/net/wireless/airo.c')
-rw-r--r-- | drivers/net/wireless/airo.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/net/wireless/airo.c b/drivers/net/wireless/airo.c index d8948bf8a275..42670acd144b 100644 --- a/drivers/net/wireless/airo.c +++ b/drivers/net/wireless/airo.c | |||
@@ -6408,9 +6408,8 @@ static int airo_set_encode(struct net_device *dev, | |||
6408 | set_wep_key(local, index, NULL, 0, perm, 1); | 6408 | set_wep_key(local, index, NULL, 0, perm, 1); |
6409 | } else | 6409 | } else |
6410 | /* Don't complain if only change the mode */ | 6410 | /* Don't complain if only change the mode */ |
6411 | if(!(dwrq->flags & IW_ENCODE_MODE)) { | 6411 | if (!(dwrq->flags & IW_ENCODE_MODE)) |
6412 | return -EINVAL; | 6412 | return -EINVAL; |
6413 | } | ||
6414 | } | 6413 | } |
6415 | /* Read the flags */ | 6414 | /* Read the flags */ |
6416 | if(dwrq->flags & IW_ENCODE_DISABLED) | 6415 | if(dwrq->flags & IW_ENCODE_DISABLED) |