e74f399e65169f90bda5a0b56a9de777f81b63f6
[librecmc/librecmc.git] /
1 From 86022438ffeb1b87dfcd018bf477fdbb43076691 Mon Sep 17 00:00:00 2001
2 From: Gabor Juhos <juhosg@openwrt.org>
3 Date: Wed, 8 May 2013 19:35:33 +0200
4 Subject: [PATCH] rt2x00: rt2800lib: use the extended EEPROM map for RT3883
5
6 Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
7 ---
8  drivers/net/wireless/ralink/rt2x00/rt2800lib.c |    3 ++-
9  1 file changed, 2 insertions(+), 1 deletion(-)
10
11 --- a/drivers/net/wireless/ralink/rt2x00/rt2800lib.c
12 +++ b/drivers/net/wireless/ralink/rt2x00/rt2800lib.c
13 @@ -381,7 +381,8 @@ static unsigned int rt2800_eeprom_word_i
14                       wiphy_name(rt2x00dev->hw->wiphy), word))
15                 return 0;
16  
17 -       if (rt2x00_rt(rt2x00dev, RT3593))
18 +       if (rt2x00_rt(rt2x00dev, RT3593) ||
19 +           rt2x00_rt(rt2x00dev, RT3883))
20                 map = rt2800_eeprom_map_ext;
21         else
22                 map = rt2800_eeprom_map;