projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d8bbf90
)
rt2800: 5592: initalize BBP_R103 register on new revisions
author
Stanislaw Gruszka
<stf_xl@wp.pl>
Sat, 16 Mar 2013 18:19:38 +0000
(19:19 +0100)
committer
John W. Linville
<linville@tuxdriver.com>
Mon, 18 Mar 2013 20:38:32 +0000
(16:38 -0400)
Based on:
NICInitRT5592RFRegisters()
from:
DPO_RT5572_LinuxSTA_2.6.1.3_20121022/chips/rt5592.c
Signed-off-by: Stanislaw Gruszka <stf_xl@wp.pl>
Tested-by: Wanlong Gao <gaowanlong@cn.fujitsu.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/rt2x00/rt2800lib.c
patch
|
blob
|
history
diff --git
a/drivers/net/wireless/rt2x00/rt2800lib.c
b/drivers/net/wireless/rt2x00/rt2800lib.c
index e6d2b14adea1a73a54aa0129596ed06b080404ae..554bd9b5e1b8465cf791d70fd64efda1448677cc 100644
(file)
--- a/
drivers/net/wireless/rt2x00/rt2800lib.c
+++ b/
drivers/net/wireless/rt2x00/rt2800lib.c
@@
-3853,6
+3853,8
@@
static void rt2800_init_bbp_5592(struct rt2x00_dev *rt2x00dev)
}
rt2800_bbp_write(rt2x00dev, 84, 0x19);
+ if (rt2x00_rt_rev_gte(rt2x00dev, RT5592, REV_RT5592C))
+ rt2800_bbp_write(rt2x00dev, 103, 0xc0);
}
static int rt2800_init_bbp(struct rt2x00_dev *rt2x00dev)