]> git.baikalelectronics.ru Git - kernel.git/commit
ath9k_hw: fix and clean up PHY activation delay
authorFelix Fietkau <nbd@openwrt.org>
Thu, 19 Apr 2012 19:18:26 +0000 (21:18 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 23 Apr 2012 19:35:31 +0000 (15:35 -0400)
commit4863e4c24ccd31e97e3fa6ed962922e4d39ff842
tree05494972ed0de7a8f9e0f634276400b597a126c2
parent9512b98321148bd7c9bc6c6ad07f9ec0c9160498
ath9k_hw: fix and clean up PHY activation delay

The delay calculation is the same for all chips, however some parts of the
code missed the extra delay factor for half/quarter.
Clean up the code and move the delay calculation to a common place.

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/ar5008_phy.c
drivers/net/wireless/ath/ath9k/ar9003_phy.c
drivers/net/wireless/ath/ath9k/hw.c
drivers/net/wireless/ath/ath9k/hw.h