diff options
author | Felix Fietkau <nbd@openwrt.org> | 2013-10-14 19:46:22 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2013-10-14 19:46:22 +0000 |
commit | da97b9fa9c80b5ec1d6870e4b3fdb6dc564698c7 (patch) | |
tree | 6b1a453e47eb93f515c5531846708e466a65e0fa | |
parent | 5d034a0e46673fa444d50ae9c90e58de59ffc350 (diff) | |
download | upstream-da97b9fa9c80b5ec1d6870e4b3fdb6dc564698c7.tar.gz upstream-da97b9fa9c80b5ec1d6870e4b3fdb6dc564698c7.tar.bz2 upstream-da97b9fa9c80b5ec1d6870e4b3fdb6dc564698c7.zip |
rt2x00: fix rf id for rt3352 (#14322)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Backport of r38399
git-svn-id: svn://svn.openwrt.org/openwrt/branches/attitude_adjustment@38401 3c298f89-4303-0410-b956-a3cf2f4a3e73
-rw-r--r-- | package/mac80211/patches/620-rt2x00-rt3352-rf-id.patch | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/package/mac80211/patches/620-rt2x00-rt3352-rf-id.patch b/package/mac80211/patches/620-rt2x00-rt3352-rf-id.patch new file mode 100644 index 0000000000..ef6b1af62b --- /dev/null +++ b/package/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 +@@ -5854,10 +5854,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)) + rt2x00_eeprom_read(rt2x00dev, EEPROM_CHIP_ID, &rf); ++ else if (rt2x00_rt(rt2x00dev, RT3352)) ++ rf = RF3322; + else if (rt2x00_rt(rt2x00dev, RT5350)) + rf = RF5350; + else |