wireless: fix '!x & y' typo's
Fix priority mistakes similar to '!x & y' Signed-off-by: Roel Kluin <12o3l@tiscali.nl> Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:
committed by
David S. Miller
parent
9f9dac281b
commit
f59d978275
@ -1759,7 +1759,7 @@ static int atmel_set_encode(struct net_device *dev,
|
||||
priv->default_key = index;
|
||||
} else
|
||||
/* Don't complain if only change the mode */
|
||||
if (!dwrq->flags & IW_ENCODE_MODE) {
|
||||
if (!(dwrq->flags & IW_ENCODE_MODE)) {
|
||||
return -EINVAL;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user