[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <4960E55F.3040904@gmail.com>
Date: Sun, 04 Jan 2009 17:35:43 +0100
From: Roel Kluin <roel.kluin@...il.com>
To: solomon@...ux-wlan.com, Greg KH <gregkh@...e.de>
CC: linux-wireless@...r.kernel.org, lkml <linux-kernel@...r.kernel.org>
Subject: [PATCH] Staging: ! has a higher precedence than &
! has a higher precedence than &
Signed-off-by: Roel Kluin <roel.kluin@...il.com>
---
I know checkpatch complains, but all whitespace in this file is like this
diff --git a/drivers/staging/wlan-ng/p80211wext.c b/drivers/staging/wlan-ng/p80211wext.c
index 906ba43..c42cd7f 100644
--- a/drivers/staging/wlan-ng/p80211wext.c
+++ b/drivers/staging/wlan-ng/p80211wext.c
@@ -1580,7 +1580,7 @@ static int p80211wext_set_encodeext(struct net_device *dev,
if ( ext->ext_flags & IW_ENCODE_EXT_SET_TX_KEY ) {
- if ( ! ext->alg & IW_ENCODE_ALG_WEP) {
+ if (!(ext->alg & IW_ENCODE_ALG_WEP)) {
WLAN_LOG_DEBUG(1,"asked to set a non wep key :(");
return -EINVAL;
}
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists