[Fixed simple compiler waring]

This commit is contained in:
James Drabb Jr 2018-12-12 06:11:25 -05:00
parent 9fc768c393
commit f7c1f84da6

View File

@ -600,6 +600,7 @@ void Hal_SetAntenna(PADAPTER pAdapter)
u8 r_rx_antenna_ofdm = 0, r_ant_select_cck_val = 0;
u8 chgTx = 0, chgRx = 0;
u32 r_ant_sel_cck_val = 0, r_ant_select_ofdm_val = 0, r_ofdm_tx_en_val = 0;
u32 reg0xC50 = 0;
p_ofdm_tx = (R_ANTENNA_SELECT_OFDM *)&r_ant_select_ofdm_val;
@ -637,7 +638,6 @@ void Hal_SetAntenna(PADAPTER pAdapter)
switch (pAdapter->mppriv.antenna_rx)
{
u32 reg0xC50 = 0;
case ANTENNA_A:
PHY_SetBBReg(pAdapter, rRxPath_Jaguar, bMaskByte0, 0x11);
PHY_SetRFReg(pAdapter, ODM_RF_PATH_B, RF_AC_Jaguar, 0xF0000, 0x1); // RF_B_0x0[19:16] = 1, Standby mode