]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
mac80211: filter scan results on unusable channels
authorJohannes Berg <johannes@sipsolutions.net>
Sun, 16 Mar 2008 17:42:44 +0000 (18:42 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 25 Mar 2008 20:41:56 +0000 (16:41 -0400)
commitfab7d4a2b1d8ce47b69a133f6f9a203b0f12636e
tree2f4986d07533de83f52719891a02821116d4b932
parente048c6e4fdac9be0dbcb7e0c5d518737c867ef09
mac80211: filter scan results on unusable channels

When you have an AP on channel 13, it will currently often enough
be listed in scan results even when the regulatory domain restricts
to channels 1-11. This is due to channel overlap. To avoid getting
very strange failures, don't show such APs in the scan results. The
failure mode will now go from "I can see the AP but not associate"
to "I can't see the AP although I know it's there" which is easier
to debug.

This problem was first really noticed by Jes Sorensen.

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Cc: Jes Sorensen <jes@trained-monkey.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/ieee80211_sta.c