diff options
author | Felix Fietkau <nbd@openwrt.org> | 2013-10-14 19:40:30 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2013-10-14 19:40:30 +0000 |
commit | 4ab6fcc3f82725183b546d3bfa238f4271f4974a (patch) | |
tree | 8c950db2281974e404c4066c574ae6d9590952f6 /package | |
parent | 8184099eabe30bbdf3096e836e1bb1c644390d4d (diff) | |
download | master-187ad058-4ab6fcc3f82725183b546d3bfa238f4271f4974a.tar.gz master-187ad058-4ab6fcc3f82725183b546d3bfa238f4271f4974a.tar.bz2 master-187ad058-4ab6fcc3f82725183b546d3bfa238f4271f4974a.zip |
rt2x00: fix rf id for rt3352 (#14322)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38399 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package')
-rw-r--r-- | package/kernel/mac80211/patches/620-rt2x00-rt3352-rf-id.patch | 15 |
1 files changed, 15 insertions, 0 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 new file mode 100644 index 0000000000..e7e1597341 --- /dev/null +++ b/package/kernel/mac80211/patches/620-rt2x00-rt3352-rf-id.patch @@ -0,0 +1,15 @@ +--- a/drivers/net/wireless/rt2x00/rt2800lib.c ++++ b/drivers/net/wireless/rt2x00/rt2800lib.c +@@ -7142,10 +7142,11 @@ static int rt2800_init_eeprom(struct rt2 + * RT53xx: defined in "EEPROM_CHIP_ID" field + */ + if (rt2x00_rt(rt2x00dev, RT3290) || +- rt2x00_rt(rt2x00dev, RT3352) || + 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, RT5350)) + rf = RF5350; + else |