diff options
author | Felix Fietkau <nbd@openwrt.org> | 2014-06-11 12:30:50 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2014-06-11 12:30:50 +0000 |
commit | 3153b7589c0831fdce97081d1ecf5b9310725576 (patch) | |
tree | 5e4608250807827642c1d1fb19849d3671443ae7 /package/mac80211/patches/620-rt2x00-rt3352-rf-id.patch | |
parent | 312a176995ecf1b1b97a048451e4ff28b4336f85 (diff) | |
download | upstream-3153b7589c0831fdce97081d1ecf5b9310725576.tar.gz upstream-3153b7589c0831fdce97081d1ecf5b9310725576.tar.bz2 upstream-3153b7589c0831fdce97081d1ecf5b9310725576.zip |
AA: mac80211: sync with trunk r41113
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/branches/attitude_adjustment@41116 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/mac80211/patches/620-rt2x00-rt3352-rf-id.patch')
-rw-r--r-- | package/mac80211/patches/620-rt2x00-rt3352-rf-id.patch | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/package/mac80211/patches/620-rt2x00-rt3352-rf-id.patch b/package/mac80211/patches/620-rt2x00-rt3352-rf-id.patch index 5e67344c85..90eab13d52 100644 --- a/package/mac80211/patches/620-rt2x00-rt3352-rf-id.patch +++ b/package/mac80211/patches/620-rt2x00-rt3352-rf-id.patch @@ -1,6 +1,6 @@ --- a/drivers/net/wireless/rt2x00/rt2800lib.c +++ b/drivers/net/wireless/rt2x00/rt2800lib.c -@@ -7186,10 +7186,11 @@ static int rt2800_init_eeprom(struct rt2 +@@ -7831,10 +7831,11 @@ static int rt2800_init_eeprom(struct rt2 * RT53xx: defined in "EEPROM_CHIP_ID" field */ if (rt2x00_rt(rt2x00dev, RT3290) || @@ -10,6 +10,6 @@ rt2800_eeprom_read(rt2x00dev, EEPROM_CHIP_ID, &rf); + else if (rt2x00_rt(rt2x00dev, RT3352)) + rf = RF3322; + else if (rt2x00_rt(rt2x00dev, RT3883)) + rf = RF3853; else if (rt2x00_rt(rt2x00dev, RT5350)) - rf = RF5350; - else |