]> git.baikalelectronics.ru Git - kernel.git/commit
ath9k: fix DFS detector synchronization
authorTimothy Redaelli <tredaelli@redhat.com>
Tue, 27 Mar 2018 08:25:25 +0000 (11:25 +0300)
committerKalle Valo <kvalo@codeaurora.org>
Thu, 29 Mar 2018 08:48:08 +0000 (11:48 +0300)
commitb696620598f7c0342fa4cc1d62a3c38d0bf903e6
tree90d76c6496f61e1275419daaddf21736a61c1d26
parent706807ea162a5e4d5f92421ace4f6e85860aa77e
ath9k: fix DFS detector synchronization

some userspace programs (e.g. hostapd) need to set the regulatory domain
before selecting the operating channel. Synchronize DFS detector regardless of
the value of ah->curchan, to avoid situations where wireless scan can't be done
on some 5GHz sub-bands, because dfs_region is constantly UNSET.

Acked-by: Felix Fietkau <nbd@nbd.name>
Signed-off-by: Timothy Redaelli <tredaelli@redhat.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/ath/ath9k/init.c