Message ID | 1350912204-31722-1-git-send-email-johannes@sipsolutions.net (mailing list archive) |
---|---|
State | Not Applicable, archived |
Headers | show |
On Mon, 2012-10-22 at 15:23 +0200, Johannes Berg wrote: > From: Johannes Berg <johannes.berg@intel.com> > > 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> > Signed-off-by: Johannes Berg <johannes.berg@intel.com> Applied. johannes -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
diff --git a/net/mac80211/main.c b/net/mac80211/main.c index c42094b..fd8345c 100644 --- 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