diff options
author | John Crispin <john@openwrt.org> | 2014-04-23 07:52:37 +0000 |
---|---|---|
committer | John Crispin <john@openwrt.org> | 2014-04-23 07:52:37 +0000 |
commit | ca27248c9f131f2d1528e405f7a51d92dc4885f0 (patch) | |
tree | b244bc79b41621d1d5fdb4b077c22629f87987e5 /package/kernel/mac80211/patches/620-rt2x00-rt3352-rf-id.patch | |
parent | 8be12510c972e15690b4e4c0cf78d6ea5f233ed2 (diff) | |
download | mtk-20170518-ca27248c9f131f2d1528e405f7a51d92dc4885f0.zip mtk-20170518-ca27248c9f131f2d1528e405f7a51d92dc4885f0.tar.gz mtk-20170518-ca27248c9f131f2d1528e405f7a51d92dc4885f0.tar.bz2 |
mac80211: refresh rt2x00 patches
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 40559
Diffstat (limited to 'package/kernel/mac80211/patches/620-rt2x00-rt3352-rf-id.patch')
-rw-r--r-- | package/kernel/mac80211/patches/620-rt2x00-rt3352-rf-id.patch | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/package/kernel/mac80211/patches/620-rt2x00-rt3352-rf-id.patch b/package/kernel/mac80211/patches/620-rt2x00-rt3352-rf-id.patch index 51c223d..a33c01f 100644 --- a/package/kernel/mac80211/patches/620-rt2x00-rt3352-rf-id.patch +++ b/package/kernel/mac80211/patches/620-rt2x00-rt3352-rf-id.patch @@ -1,15 +1,11 @@ --- a/drivers/net/wireless/rt2x00/rt2800lib.c +++ b/drivers/net/wireless/rt2x00/rt2800lib.c -@@ -7187,10 +7187,11 @@ static int rt2800_init_eeprom(struct rt2 - * RT53xx: defined in "EEPROM_CHIP_ID" field - */ - if (rt2x00_rt(rt2x00dev, RT3290) || -- rt2x00_rt(rt2x00dev, RT3352) || +@@ -7813,6 +7813,8 @@ static int rt2800_init_eeprom(struct rt2 rt2x00_rt(rt2x00dev, RT5390) || rt2x00_rt(rt2x00dev, RT5392)) 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 |