b43: N-PHY: correct condition blocks in init
PATCH 5/6 b43: N-PHY: correct condition blocks in init
Signed-off-by Rafał Miłecki <[email protected]>
--- drivers/net/wireless/b43/phy_n.c | 16 +++++++++------- 1 files changed, 9 insertions(+), 7 deletions(-)
drivers/net/wireless/b43/phy_n.c +9 -7
@@ -1842,17 +1842,19 @@ int b43_phy_initn(struct b43_wldev *dev)//TODO N PHY Pre Calibrate TX Gain target =b43_nphy_get_tx_gains (dev); } -/* TODO: If the output of N PHY Cal TX Iqlo with target, 1 0 as arguments is 0 -if (b43_nphy_cal_rx_iq(dev, target, 2, 0) == 0) -Call N PHY Save Cal */ - }else if (nphy->mphase_cal_phase_id ==0 ) { -//TODO N PHY Periodic Calibration with argument 3 } - }else { -b43_nphy_restore_cal (dev); } } +/* TODO: If the output of N PHY Cal TX Iqlo with target, 1 0 as arguments is 0 { +if (b43_nphy_cal_rx_iq(dev, target, 2, 0) == 0) +Call N PHY Save Cal +else if (nphy->mphase_cal_phase_id == 0) +//TODO: N PHY Periodic Calibration with argument 3 +} else { +b43_nphy_restore_cal(dev); +} */ +b43_nphy_tx_pwr_ctrl_coef_setup (dev);//TODO N PHY TX Power Control Enable with argument tx_pwr_state b43_phy_write (dev,B43_NPHY_TXMACIF_HOLDOFF ,0x0015 );
Signature · 1 line
1.6.4.2