OSDN Git Service

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)
commit7519a8f0778bdb14f07cf685fa5fee6ab07e734c
tree6892ab013e4ff9a55d366cf6b9c5ca139d89ebd2
parent547e4c2e64d0be5e8491abb49ee6b0f0f8272de1
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