projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d012a60
)
mac80211: fix WDS channel context test
author
Johannes Berg
<johannes.berg@intel.com>
Mon, 22 Oct 2012 13:20:53 +0000
(15:20 +0200)
committer
Johannes Berg
<johannes.berg@intel.com>
Mon, 22 Oct 2012 14:36:32 +0000
(16:36 +0200)
WDS is (currently) not allowed when channel
contexts are *supported*, not when they're
*not* supported. Fix the inverted test.
Reported-by: Ronald <ronald645@gmail.com>
Tested-by: Ronald <ronald645@gmail.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/main.c
patch
|
blob
|
history
diff --git
a/net/mac80211/main.c
b/net/mac80211/main.c
index c42094be2f0bccfca4411519673bc0f531a58164..fd8345c200512ded20e1bf47e960599bbc042bc6 100644
(file)
--- a/
net/mac80211/main.c
+++ b/
net/mac80211/main.c
@@
-751,7
+751,7
@@
int ieee80211_register_hw(struct ieee80211_hw *hw)
if (comb->num_different_channels > 1)
return -EINVAL;
}
-
+ } else {
/*
* WDS is currently prohibited when channel contexts are used
* because there's no clear definition of which channel WDS