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