ath9k: fix ar956x device detection

Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 46090
This commit is contained in:
Felix Fietkau
2015-06-21 17:52:12 +00:00
parent 3a237d638e
commit 20b3f6683d
5 changed files with 28 additions and 8 deletions

View File

@@ -94,7 +94,7 @@
struct ath_gen_timer *ath_gen_timer_alloc(struct ath_hw *ah,
--- a/drivers/net/wireless/ath/ath9k/hw.c
+++ b/drivers/net/wireless/ath/ath9k/hw.c
@@ -1803,6 +1803,20 @@ u32 ath9k_hw_get_tsf_offset(struct times
@@ -1804,6 +1804,20 @@ u32 ath9k_hw_get_tsf_offset(struct times
}
EXPORT_SYMBOL(ath9k_hw_get_tsf_offset);
@@ -115,7 +115,7 @@
int ath9k_hw_reset(struct ath_hw *ah, struct ath9k_channel *chan,
struct ath9k_hw_cal_data *caldata, bool fastcc)
{
@@ -2011,6 +2025,7 @@ int ath9k_hw_reset(struct ath_hw *ah, st
@@ -2012,6 +2026,7 @@ int ath9k_hw_reset(struct ath_hw *ah, st
ar9003_hw_disable_phy_restart(ah);
ath9k_hw_apply_gpio_override(ah);