projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
staging: correct dubious use of !x & y
[cascardo/linux.git]
/
drivers
/
staging
/
wlan-ng
/
p80211wext.c
diff --git
a/drivers/staging/wlan-ng/p80211wext.c
b/drivers/staging/wlan-ng/p80211wext.c
index
b2c9ea2
..
338028a
100644
(file)
--- 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;
}