git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
cfg80211: fix radar_detect combination checking
[pandora-kernel.git]
/
net
/
wireless
/
util.c
diff --git
a/net/wireless/util.c
b/net/wireless/util.c
index
5433659
..
d032a31
100644
(file)
--- a/
net/wireless/util.c
+++ b/
net/wireless/util.c
@@
-1309,7
+1309,7
@@
int cfg80211_check_combinations(struct wiphy *wiphy,
}
}
- if (radar_detect
&& !
(c->radar_detect_widths & radar_detect))
+ if (radar_detect
!=
(c->radar_detect_widths & radar_detect))
goto cont;
/* Finally check that all iftypes that we're currently