mirror of
https://github.com/gnab/rtl8812au
synced 2024-11-22 13:24:47 +00:00
[Fixed simple compiler waring]
This commit is contained in:
parent
9fc768c393
commit
f7c1f84da6
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user