[PATCH] bcm43xx: Fix 802.11b/g scan limits to match regulatory reqs
authorLarry Finger <Larry.Finger@lwfinger.net>
Sat, 7 Apr 2007 18:54:35 +0000 (13:54 -0500)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 10 Apr 2007 18:35:57 +0000 (14:35 -0400)
commit81e880064dd32b3efdc41ad4cc2416c4744693ee
treefd67d80cee79c0635ab90233cdb5eefedc29c942
parent92b3e2e9253a9f4c9224071842fd263c334dece0
[PATCH] bcm43xx: Fix 802.11b/g scan limits to match regulatory reqs

In 802.11b/g mode, bcm43xx actively scans channels 1-14 no matter what
locale has been set, either in the sprom or by the locale option. This
behaviorviolates regulatory rules everywhere in the world except
Japan. This patch changes the default range to the correct value if the
locale has been set, and to channels 1-13 if no locale has been set.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/bcm43xx/bcm43xx_main.c