mac80211: fix WDS channel context test
authorJohannes Berg <johannes.berg@intel.com>
Mon, 22 Oct 2012 13:20:53 +0000 (15:20 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 22 Oct 2012 14:36:32 +0000 (16:36 +0200)
commit746a336582a7e05082ab4efbb43f5357858f629a
tree6435fa13012b8d07c8c8d1879418792efc1186a5
parentd012a605108a482392be80710ea35f1db27c4aa9
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: Ronald <ronald645@gmail.com>
Tested-by: Ronald <ronald645@gmail.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/main.c