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:
a5d3598
)
b43: N-PHY: init BPHY when needed
author
Rafał Miłecki
<
[email protected]
>
Thu, 18 Nov 2010 12:28:00 +0000
(13:28 +0100)
committer
John W. Linville
<
[email protected]
>
Wed, 24 Nov 2010 21:19:33 +0000
(16:19 -0500)
Signed-off-by: Rafał Miłecki <
[email protected]
>
Signed-off-by: John W. Linville <
[email protected]
>
drivers/net/wireless/b43/phy_n.c
patch
|
blob
|
history
diff --git
a/drivers/net/wireless/b43/phy_n.c
b/drivers/net/wireless/b43/phy_n.c
index cbdee308bb5044895ea5af452aae58d83f94b8f5..d52d514910552e6e2d921a93adf1f890458b5f54 100644
(file)
--- a/
drivers/net/wireless/b43/phy_n.c
+++ b/
drivers/net/wireless/b43/phy_n.c
@@
-1573,6
+1573,7
@@
static void b43_nphy_rf_control_intc_override(struct b43_wldev *dev, u8 field,
}
}
+/* http://bcm-v4.sipsolutions.net/802.11/PHY/N/BPHYInit */
static void b43_nphy_bphy_init(struct b43_wldev *dev)
{
unsigned int i;
@@
-3240,6
+3241,9
@@
int b43_phy_initn(struct b43_wldev *dev)
b43_nphy_classifier(dev, 0, 0);
b43_nphy_read_clip_detection(dev, clip);
+ if (b43_current_band(dev->wl) == IEEE80211_BAND_2GHZ)
+ b43_nphy_bphy_init(dev);
+
tx_pwr_state = nphy->txpwrctrl;
/* TODO N PHY TX power control with argument 0
(turning off power control) */