Skip to content

Commit 9c5bd53

Browse files
committed
[rtl8723bs] Fix compile error
1 parent e573654 commit 9c5bd53

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • drivers/net/wireless/rockchip_wlan/rtl8723bs/hal

drivers/net/wireless/rockchip_wlan/rtl8723bs/hal/hal_mp.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1063,6 +1063,7 @@ void mpt_SetRFPath_8723B(PADAPTER pAdapter)
10631063
PMPT_CONTEXT pMptCtx = &(pAdapter->mppriv.mpt_ctx);
10641064
struct PHY_DM_STRUCT *pDM_Odm = &pHalData->odmpriv;
10651065
struct odm_rf_calibration_structure *pRFCalibrateInfo = &(pDM_Odm->rf_calibrate_info);
1066+
u8 p = 0, i = 0;
10661067

10671068
ulAntennaTx = pHalData->antenna_tx_path;
10681069
ulAntennaRx = pHalData->AntennaRxPath;
@@ -1073,7 +1074,6 @@ void mpt_SetRFPath_8723B(PADAPTER pAdapter)
10731074
}
10741075

10751076
switch (pAdapter->mppriv.antenna_tx) {
1076-
u8 p = 0, i = 0;
10771077
case ANTENNA_A: { /*/ Actually path S1 (Wi-Fi)*/
10781078
pMptCtx->mpt_rf_path = ODM_RF_PATH_A;
10791079
phy_set_bb_reg(pAdapter, rS0S1_PathSwitch, BIT9 | BIT8 | BIT7, 0x0);

0 commit comments

Comments
 (0)