]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commit4ff2a9b0f35fe11aabee1b6ace9ca2729fca7b2e
treefd67d80cee79c0635ab90233cdb5eefedc29c942
parent5651e84080c1455446f1877ec5e79bf516e1f292
[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