diff options
author | Felix Fietkau <nbd@openwrt.org> | 2014-03-14 10:53:42 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2014-03-14 10:53:42 +0000 |
commit | 705d7a8aa438a21daa646e1dc8c5d0a45295de0c (patch) | |
tree | fc4abc713ed39e07d94d500e5f7d44cbc985f43e /package/mac80211/patches/501-ath9k-eeprom_endianess.patch | |
parent | 9b1e65073a8b1a571c390a1041bfe7fcd07d97ba (diff) | |
download | upstream-705d7a8aa438a21daa646e1dc8c5d0a45295de0c.tar.gz upstream-705d7a8aa438a21daa646e1dc8c5d0a45295de0c.tar.bz2 upstream-705d7a8aa438a21daa646e1dc8c5d0a45295de0c.zip |
AA: mac80211: backport package from trunk r39886
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/branches/attitude_adjustment@39928 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/mac80211/patches/501-ath9k-eeprom_endianess.patch')
-rw-r--r-- | package/mac80211/patches/501-ath9k-eeprom_endianess.patch | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/package/mac80211/patches/501-ath9k-eeprom_endianess.patch b/package/mac80211/patches/501-ath9k-eeprom_endianess.patch index b98e8f50f0..96e7c6d8cc 100644 --- a/package/mac80211/patches/501-ath9k-eeprom_endianess.patch +++ b/package/mac80211/patches/501-ath9k-eeprom_endianess.patch @@ -71,7 +71,7 @@ --- a/drivers/net/wireless/ath/ath9k/hw.h +++ b/drivers/net/wireless/ath/ath9k/hw.h -@@ -739,6 +739,7 @@ enum ath_cal_list { +@@ -724,6 +724,7 @@ enum ath_cal_list { #define AH_USE_EEPROM 0x1 #define AH_UNPLUGGED 0x2 /* The card has been physically removed. */ #define AH_FASTCC 0x4 @@ -81,7 +81,7 @@ struct ath_ops reg_ops; --- a/drivers/net/wireless/ath/ath9k/init.c +++ b/drivers/net/wireless/ath/ath9k/init.c -@@ -613,6 +613,8 @@ static int ath9k_init_softc(u16 devid, s +@@ -722,6 +722,8 @@ static int ath9k_init_softc(u16 devid, s ah->is_clk_25mhz = pdata->is_clk_25mhz; ah->get_mac_revision = pdata->get_mac_revision; ah->external_reset = pdata->external_reset; @@ -89,7 +89,7 @@ + ah->ah_flags |= AH_NO_EEP_SWAP; } - common = ath9k_hw_common(ah); + common->ops = &ah->reg_ops; --- a/include/linux/ath9k_platform.h +++ b/include/linux/ath9k_platform.h @@ -31,6 +31,7 @@ struct ath9k_platform_data { @@ -98,5 +98,5 @@ + bool endian_check; bool is_clk_25mhz; - int (*get_mac_revision)(void); - int (*external_reset)(void); + bool tx_gain_buffalo; + |