projects
/
openwrt
/
svn-archive
/
archive.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
mac80211: update to wireless-testing 2013-11-05
[openwrt/svn-archive/archive.git]
/
package
/
kernel
/
mac80211
/
patches
/
501-ath9k-eeprom_endianess.patch
diff --git
a/package/kernel/mac80211/patches/501-ath9k-eeprom_endianess.patch
b/package/kernel/mac80211/patches/501-ath9k-eeprom_endianess.patch
index 284a82a273be0c485d4b95e0bef1e7d2645345d6..0ce6a6a38ad4dbd96143b37c9def1b89b9a8ddc3 100644
(file)
--- a/
package/kernel/mac80211/patches/501-ath9k-eeprom_endianess.patch
+++ b/
package/kernel/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
--- a/drivers/net/wireless/ath/ath9k/hw.h
+++ b/drivers/net/wireless/ath/ath9k/hw.h
-@@ -7
17,6 +71
7,7 @@ enum ath_cal_list {
+@@ -7
27,6 +72
7,7 @@ enum ath_cal_list {
#define AH_USE_EEPROM 0x1
#define AH_UNPLUGGED 0x2 /* The card has been physically removed. */
#define AH_FASTCC 0x4
#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
struct ath_ops reg_ops;
--- a/drivers/net/wireless/ath/ath9k/init.c
+++ b/drivers/net/wireless/ath/ath9k/init.c
-@@ -6
65,6 +66
5,8 @@ static int ath9k_init_softc(u16 devid, s
+@@ -6
95,6 +69
5,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;
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;
}
+ 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 {
--- a/include/linux/ath9k_platform.h
+++ b/include/linux/ath9k_platform.h
@@ -31,6 +31,7 @@ struct ath9k_platform_data {