File tree Expand file tree Collapse file tree
drivers/net/wireless/rockchip_wlan/rtl8723bs/hal Expand file tree Collapse file tree Original file line number Diff line number Diff 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 );
You can’t perform that action at this time.
0 commit comments