]> git.baikalelectronics.ru Git - kernel.git/commit
ath9k: remove passive scan on 5 GHz if country IE knows better
authorLuis R. Rodriguez <lrodriguez@atheros.com>
Wed, 28 Jan 2009 20:17:49 +0000 (12:17 -0800)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 9 Feb 2009 20:03:38 +0000 (15:03 -0500)
commit0cd78e9e71aa15a9b58149862a80456ea63a271d
tree6892ab013e4ff9a55d366cf6b9c5ca139d89ebd2
parent7def91979672c1f53007ae9def9c9137cbc1ce2f
ath9k: remove passive scan on 5 GHz if country IE knows better

If we have new found information about our location and the
current country regulatory domain does not have passive scan
flag requirements we should be able to actively scan now on those
channels.

Since AP functionality is not allowed where passive scan flags are
set this means if you have a world regulatory domain and you get a
country IE that allows that channel (with active scan) then we lift
the passive-scan requirement so you can then use AP mode.

Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath9k/regd.c