]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: BSS info: check channel first
authorJohannes Berg <johannes@sipsolutions.net>
Mon, 8 Sep 2008 09:05:10 +0000 (11:05 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 11 Sep 2008 19:53:35 +0000 (15:53 -0400)
commitc59abd3a8744b771d3e90ed8fea62f3f3c33dacf
tree010bceb4b2d6f3a5c78e497a333eb64dac0f0473
parenta2be1870c8572b00dd30b5c15182e38495f345f1
mac80211: BSS info: check channel first

When we receive information about a BSS we check at some point
whether or not we think we're allowed to use the channel it is
on, but we do that fairly late. I don't think we should do it
that late, so do it earlier to avoid doing IBSS/mesh stuff on
that channel and then getting confused because it's disabled.

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/mlme.c