Skip to content

Commit

Permalink
ath9k: setup tuning caps for AR9330
Browse files Browse the repository at this point in the history
It is necessary for accurate frequency setting.

Signed-off-by: Darius Augulis <darius@8devices.com>
  • Loading branch information
Darius Augulis committed Aug 5, 2013
1 parent 8975916 commit 03a560b
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions package/mac80211/patches/565-ath9k_tuning_caps.patch
@@ -0,0 +1,13 @@
Index: compat-wireless-2013-02-22/drivers/net/wireless/ath/ath9k/ar9003_eeprom.c
===================================================================
--- compat-wireless-2013-02-22.orig/drivers/net/wireless/ath/ath9k/ar9003_eeprom.c
+++ compat-wireless-2013-02-22/drivers/net/wireless/ath/ath9k/ar9003_eeprom.c
@@ -3897,7 +3897,7 @@ static void ar9003_hw_apply_tuning_caps(
struct ar9300_eeprom *eep = &ah->eeprom.ar9300_eep;
u8 tuning_caps_param = eep->baseEepHeader.params_for_tuning_caps[0];

- if (AR_SREV_9485(ah) || AR_SREV_9330(ah) || AR_SREV_9340(ah))
+ if (AR_SREV_9485(ah) || AR_SREV_9340(ah))
return;

if (eep->baseEepHeader.featureEnable & 0x40) {

0 comments on commit 03a560b

Please sign in to comment.