diff options
author | Felix Fietkau <nbd@openwrt.org> | 2014-05-23 18:48:35 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2014-05-23 18:48:35 +0000 |
commit | 4e5453c94cd5f16a55548a5688c421ee58ca3f7e (patch) | |
tree | fda1569005e6ddbeaf8338e2bebba581805e9c7a /package/kernel/mac80211/patches/431-add_platform_eeprom_support_to_ath5k.patch | |
parent | b82d436d9b0cd6703e2b902e544c4b8c80c6e54f (diff) | |
download | upstream-4e5453c94cd5f16a55548a5688c421ee58ca3f7e.tar.gz upstream-4e5453c94cd5f16a55548a5688c421ee58ca3f7e.tar.bz2 upstream-4e5453c94cd5f16a55548a5688c421ee58ca3f7e.zip |
mac80211: update to wireless-testing 2014-05-22
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40834 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/kernel/mac80211/patches/431-add_platform_eeprom_support_to_ath5k.patch')
-rw-r--r-- | package/kernel/mac80211/patches/431-add_platform_eeprom_support_to_ath5k.patch | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/package/kernel/mac80211/patches/431-add_platform_eeprom_support_to_ath5k.patch b/package/kernel/mac80211/patches/431-add_platform_eeprom_support_to_ath5k.patch index a223b38348..5cb4b513fa 100644 --- a/package/kernel/mac80211/patches/431-add_platform_eeprom_support_to_ath5k.patch +++ b/package/kernel/mac80211/patches/431-add_platform_eeprom_support_to_ath5k.patch @@ -22,14 +22,14 @@ u32 status, timeout; + struct ath5k_platform_data *pdata = NULL; -+ ++ + if (ah->pdev) + pdata = ah->pdev->dev.platform_data; + + if (pdata && pdata->eeprom_data && pdata->eeprom_data[61] == AR5K_EEPROM_MAGIC_VALUE) { -+ if (offset >= ATH5K_PLAT_EEP_MAX_WORDS) ++ if (offset >= ATH5K_PLAT_EEP_MAX_WORDS) + return false; -+ ++ + *data = pdata->eeprom_data[offset]; + return true; + } |