wireless: checkpatch cleanups

Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
This commit is contained in:
Jeff Garzik
2007-11-23 21:50:20 -05:00
committed by David S. Miller
parent 092427be8c
commit 93a3b607e6
8 changed files with 14 additions and 18 deletions

View File

@@ -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)