600-0033-rt2x00-rt2800lib-use-high-memory-for-beacons-on-RT38.patch 775 B

12345678910111213141516171819202122
  1. From f1acfc2f397e86548ae1b479c198d4bef57050f6 Mon Sep 17 00:00:00 2001
  2. From: Gabor Juhos <juhosg@openwrt.org>
  3. Date: Sun, 29 Sep 2013 18:10:34 +0200
  4. Subject: [PATCH] rt2x00: rt2800lib: use high memory for beacons on RT3883
  5. Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
  6. ---
  7. drivers/net/wireless/ralink/rt2x00/rt2800lib.c | 3 ++-
  8. 1 file changed, 2 insertions(+), 1 deletion(-)
  9. --- a/drivers/net/wireless/ralink/rt2x00/rt2800lib.c
  10. +++ b/drivers/net/wireless/ralink/rt2x00/rt2800lib.c
  11. @@ -97,7 +97,8 @@ static inline void rt2800_shared_mem_sel
  12. static inline bool rt2800_beacon_uses_high_mem(struct rt2x00_dev *rt2x00dev)
  13. {
  14. - if (rt2x00_rt(rt2x00dev, RT3593))
  15. + if (rt2x00_rt(rt2x00dev, RT3593) ||
  16. + rt2x00_rt(rt2x00dev, RT3883))
  17. return true;
  18. return false;