wireless: checkpatch cleanups
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
This commit is contained in:
committed by
David S. Miller
parent
092427be8c
commit
93a3b607e6
@@ -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)
|
||||
|
Reference in New Issue
Block a user