diff options
author | Roel Kluin <12o3l@tiscali.nl> | 2007-10-26 15:51:26 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-01-28 18:03:35 -0500 |
commit | f59d9782751bf1a2c51e7e1e9f614ffec35fb52e (patch) | |
tree | e994472272f4c9d598df9ab43ce393bdad56bfc4 /drivers/net/wireless/atmel.c | |
parent | 9f9dac281ba2acd3d6d3574076f86b8f99aaebc0 (diff) |
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>
Diffstat (limited to 'drivers/net/wireless/atmel.c')
-rw-r--r-- | drivers/net/wireless/atmel.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/atmel.c b/drivers/net/wireless/atmel.c index 059ce3f07dba..57cc7e58bfe5 100644 --- a/drivers/net/wireless/atmel.c +++ b/drivers/net/wireless/atmel.c | |||
@@ -1759,7 +1759,7 @@ static int atmel_set_encode(struct net_device *dev, | |||
1759 | priv->default_key = index; | 1759 | priv->default_key = index; |
1760 | } else | 1760 | } else |
1761 | /* Don't complain if only change the mode */ | 1761 | /* Don't complain if only change the mode */ |
1762 | if (!dwrq->flags & IW_ENCODE_MODE) { | 1762 | if (!(dwrq->flags & IW_ENCODE_MODE)) { |
1763 | return -EINVAL; | 1763 | return -EINVAL; |
1764 | } | 1764 | } |
1765 | } | 1765 | } |