600-0032-rt2x00-rt2800lib-enable-RT2800_HAS_HIGH_SHARED_MEM-f.patch 811 B

1234567891011121314151617181920212223
  1. From f6734ec72da936989a8ce4186b3ede28fbc47836 Mon Sep 17 00:00:00 2001
  2. From: Gabor Juhos <juhosg@openwrt.org>
  3. Date: Sun, 18 Aug 2013 21:57:34 +0200
  4. Subject: [PATCH] rt2x00: rt2800lib: enable RT2800_HAS_HIGH_SHARED_MEM for
  5. RT3883
  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. --- a/drivers/net/wireless/ralink/rt2x00/rt2800lib.c
  11. +++ b/drivers/net/wireless/ralink/rt2x00/rt2800lib.c
  12. @@ -8420,7 +8420,8 @@ int rt2800_probe_hw(struct rt2x00_dev *r
  13. if (retval)
  14. return retval;
  15. - if (rt2x00_rt(rt2x00dev, RT3593))
  16. + if (rt2x00_rt(rt2x00dev, RT3593) ||
  17. + rt2x00_rt(rt2x00dev, RT3883))
  18. __set_bit(RT2800_HAS_HIGH_SHARED_MEM, &drv_data->rt2800_flags);
  19. if (rt2x00_rt(rt2x00dev, RT3593) ||