]> pilppa.com Git - linux-2.6-omap-h63xx.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)
commit5bda617576e58c7213aef5ab90383f303727b5b1
tree010bceb4b2d6f3a5c78e497a333eb64dac0f0473
parentfe3fa827314b877486c515a001c3e6f604f6f16f
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