diff options
author | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2011-03-23 20:16:58 +0000 |
---|---|---|
committer | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2011-03-23 20:16:58 +0000 |
commit | b139cef40ade2d9be8a8a883144b89ebef069666 (patch) | |
tree | f81527d3f14a95adbaa3a5d1133fd7c06137db6b /package/mac80211/patches/568-ath9k_remove_enhancedpm.patch | |
parent | f8662e2c223c8ba4dee286adc46f52adea92f17a (diff) |
ath9k: add a few de-bloating and optimization patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26281 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/mac80211/patches/568-ath9k_remove_enhancedpm.patch')
-rw-r--r-- | package/mac80211/patches/568-ath9k_remove_enhancedpm.patch | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/package/mac80211/patches/568-ath9k_remove_enhancedpm.patch b/package/mac80211/patches/568-ath9k_remove_enhancedpm.patch new file mode 100644 index 000000000..97921c22f --- /dev/null +++ b/package/mac80211/patches/568-ath9k_remove_enhancedpm.patch @@ -0,0 +1,21 @@ +--- a/drivers/net/wireless/ath/ath9k/hw.c ++++ b/drivers/net/wireless/ath/ath9k/hw.c +@@ -1912,8 +1912,6 @@ int ath9k_hw_fill_cap_info(struct ath_hw + pCap->rts_aggr_limit = (8 * 1024); + } + +- pCap->hw_caps |= ATH9K_HW_CAP_ENHANCEDPM; +- + #if defined(CONFIG_RFKILL) || defined(CONFIG_RFKILL_MODULE) + ah->rfsilent = ah->eep_ops->get_eeprom(ah, EEP_RF_SILENT); + if (ah->rfsilent & EEP_RFSILENT_ENABLED) { +--- a/drivers/net/wireless/ath/ath9k/hw.h ++++ b/drivers/net/wireless/ath/ath9k/hw.h +@@ -174,7 +174,6 @@ enum ath9k_hw_caps { + ATH9K_HW_CAP_HT = BIT(0), + ATH9K_HW_CAP_RFSILENT = BIT(1), + ATH9K_HW_CAP_CST = BIT(2), +- ATH9K_HW_CAP_ENHANCEDPM = BIT(3), + ATH9K_HW_CAP_AUTOSLEEP = BIT(4), + ATH9K_HW_CAP_4KB_SPLITTRANS = BIT(5), + ATH9K_HW_CAP_EDMA = BIT(6), |