android_kernel_xiaomi_sm8350/drivers/net/wireless/ath9k
Bob Copeland 191a99b748 ath9k: move common regulatory code out of if() branches
Both branches of the regulatory check in ath_attach() set up a
custom regulatory domain and apply radar and world flags, so extract
those into a single path.

While at it, fix a couple of spelling errors and an unnecessary extra
pointer traversal.

Signed-off-by: Bob Copeland <me@bobcopeland.com>
Acked-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2009-02-27 14:52:33 -05:00
..
ahb.c
ani.c ath9k: Fix bug in disabling MIB counters 2009-02-27 14:51:44 -05:00
ani.h
ath9k.h
beacon.c ath9k: Enable TSF Out of Range Interrupt 2009-02-27 14:51:43 -05:00
calib.c ath9k: Add open loop control support 2009-02-27 14:51:46 -05:00
calib.h ath9k: Decrease minimum NF threshold 2009-02-27 14:51:45 -05:00
debug.c
debug.h
eeprom.c ath9k: Add open loop control support 2009-02-27 14:51:46 -05:00
eeprom.h ath9k: Add open loop control support 2009-02-27 14:51:46 -05:00
hw.c ath9k: Add open loop control support 2009-02-27 14:51:46 -05:00
hw.h ath9k: Add open loop control support 2009-02-27 14:51:46 -05:00
initvals.h
Kconfig
mac.c
mac.h
main.c ath9k: move common regulatory code out of if() branches 2009-02-27 14:52:33 -05:00
Makefile
pci.c
phy.c ath9k: Enable Fractional N mode 2009-02-27 14:51:43 -05:00
phy.h ath9k: Add open loop control support 2009-02-27 14:51:46 -05:00
rc.c ath9k: Add open loop control support 2009-02-27 14:51:46 -05:00
rc.h
recv.c
reg.h ath9k: Enable TSF Out of Range Interrupt 2009-02-27 14:51:43 -05:00
regd_common.h
regd.c ath9k: remove ath9k_regd_get_rd() 2009-02-27 14:51:47 -05:00
regd.h ath9k: remove prototype for ath9k_regd_get_current_country 2009-02-27 14:51:47 -05:00
xmit.c