summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/airo.c
diff options
context:
space:
mode:
authorJeff Garzik <jeff@garzik.org>2007-11-24 03:50:20 +0100
committerDavid S. Miller <davem@davemloft.net>2008-01-29 00:04:04 +0100
commit93a3b607e6eff7880959149a581d90c71887eb19 (patch)
tree64078dd70c71256ad56e38737715587a94863d82 /drivers/net/wireless/airo.c
parentdrivers/net/r6040: fix obvious problems (but more remain) (diff)
downloadlinux-93a3b607e6eff7880959149a581d90c71887eb19.tar.xz
linux-93a3b607e6eff7880959149a581d90c71887eb19.zip
wireless: checkpatch cleanups
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'drivers/net/wireless/airo.c')
-rw-r--r--drivers/net/wireless/airo.c3
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,
set_wep_key(local, index, NULL, 0, perm, 1);
} else
/* Don't complain if only change the mode */
- if(!(dwrq->flags & IW_ENCODE_MODE)) {
+ if (!(dwrq->flags & IW_ENCODE_MODE))
return -EINVAL;
- }
}
/* Read the flags */
if(dwrq->flags & IW_ENCODE_DISABLED)