]> git.baikalelectronics.ru Git - kernel.git/commit
ath: fix logic on ath_reg_apply_active_scan_flags()
authorLuis R. Rodriguez <mcgrof@do-not-panic.com>
Mon, 21 Oct 2013 17:14:47 +0000 (19:14 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 5 Dec 2013 20:09:56 +0000 (15:09 -0500)
commit6a3e73d303311fa1e90b1286ebd378b3ddf989d1
treef6c6db40a262015f53ad3f61106e2e98d138560b
parent1338c81119eff74b7893edc57811581137f5f244
ath: fix logic on ath_reg_apply_active_scan_flags()

The existing logic removes the passive scan flag from
channels 12 and 13 when a regulatory hint coming from
something other than a country IE has been passed. This
is incorrect, the original intention was to ensure we
always have passive scan enabled for these two channels
for a specific set of custom world regulatory domains.

Cc: smihir@qti.qualcomm.com
Cc: tushnimb@qca.qualcomm.com
Signed-off-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/regd.c