summaryrefslogtreecommitdiff
path: root/package/mac80211/patches/451-add-platform-eeprom-support-to-ath5k.patch
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2010-12-04 01:32:04 +0000
committerFelix Fietkau <nbd@openwrt.org>2010-12-04 01:32:04 +0000
commit2a55832f5884d0512556d772b5532aa5737f39ad (patch)
tree001d013871bb58416622c40e93c6dee2979966fc /package/mac80211/patches/451-add-platform-eeprom-support-to-ath5k.patch
parentb599f7dc42e33e6c04523deefabc316501e92baf (diff)
downloadmtk-20170518-2a55832f5884d0512556d772b5532aa5737f39ad.zip
mtk-20170518-2a55832f5884d0512556d772b5532aa5737f39ad.tar.gz
mtk-20170518-2a55832f5884d0512556d772b5532aa5737f39ad.tar.bz2
mac80211: update to wireless-testing 2010-11-30
SVN-Revision: 24235
Diffstat (limited to 'package/mac80211/patches/451-add-platform-eeprom-support-to-ath5k.patch')
-rw-r--r--package/mac80211/patches/451-add-platform-eeprom-support-to-ath5k.patch6
1 files changed, 3 insertions, 3 deletions
diff --git a/package/mac80211/patches/451-add-platform-eeprom-support-to-ath5k.patch b/package/mac80211/patches/451-add-platform-eeprom-support-to-ath5k.patch
index a03b599..5186735 100644
--- a/package/mac80211/patches/451-add-platform-eeprom-support-to-ath5k.patch
+++ b/package/mac80211/patches/451-add-platform-eeprom-support-to-ath5k.patch
@@ -9,7 +9,7 @@
#include "ath5k.h"
#include "reg.h"
-@@ -34,6 +36,18 @@
+@@ -71,6 +73,18 @@ static u16 ath5k_eeprom_bin2freq(struct
static int ath5k_hw_eeprom_read(struct ath5k_hw *ah, u32 offset, u16 *data)
{
u32 status, timeout;
@@ -28,7 +28,7 @@
/*
* Initialize EEPROM access
-@@ -1788,7 +1802,7 @@ ath5k_eeprom_init(struct ath5k_hw *ah)
+@@ -1760,7 +1774,7 @@ ath5k_eeprom_read_spur_chans(struct ath5
}
/*
@@ -37,7 +37,7 @@
*/
int ath5k_eeprom_read_mac(struct ath5k_hw *ah, u8 *mac)
{
-@@ -1796,6 +1810,16 @@ int ath5k_eeprom_read_mac(struct ath5k_h
+@@ -1768,6 +1782,16 @@ int ath5k_eeprom_read_mac(struct ath5k_h
u32 total, offset;
u16 data;
int octet, ret;