Fix a typo from the original driver. We need to write ctrl2 into RF
register 0x52, not ctrl1. This appears to be a mistake in the bcm reverse engineering page, and has been corrected there. Tracing through the code, this is more in keeping with the "documented" register. Sephe thinks it looks interesting and may be worth fixing. :) Submitted by: ddkprog at yahoo com Reviewed by: Sepherosa Ziehau
This commit is contained in:
parent
e84bcd8494
commit
b16a8a5859
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=192306
@ -375,7 +375,7 @@ bwi_phy_init_11g(struct bwi_mac *mac)
|
||||
RF_WRITE(mac, 0x52,
|
||||
(tpctl->tp_ctrl1 << 4) | tpctl->tp_ctrl2);
|
||||
} else {
|
||||
RF_FILT_SETBITS(mac, 0x52, 0xfff0, tpctl->tp_ctrl1);
|
||||
RF_FILT_SETBITS(mac, 0x52, 0xfff0, tpctl->tp_ctrl2);
|
||||
}
|
||||
|
||||
if (phy->phy_rev >= 6) {
|
||||
|
Loading…
Reference in New Issue
Block a user