提交 746a3365 编写于 作者: J Johannes Berg

mac80211: fix WDS channel context test

WDS is (currently) not allowed when channel
contexts are *supported*, not when they're
*not* supported. Fix the inverted test.
Reported-by: NRonald <ronald645@gmail.com>
Tested-by: NRonald <ronald645@gmail.com>
Signed-off-by: NJohannes Berg <johannes.berg@intel.com>
上级 d012a605
......@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册