Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Fix build error when compiled on Tinker board
drivers/net/wireless/rockchip_wlan/rtl8723bs/hal/hal_mp.c:1076:6: warning: statement will never be executed [-Wswitch-unreachable]
error, forbidden warning: hal_mp.c:1076
  • Loading branch information
MeKeCNC authored Jun 1, 2018
commit 2801948b1dacb443256ee7cde7a860dbf8eedf0c
2 changes: 1 addition & 1 deletion drivers/net/wireless/rockchip_wlan/rtl8723bs/hal/hal_mp.c
Original file line number Diff line number Diff line change
Expand Up @@ -1073,7 +1073,7 @@ void mpt_SetRFPath_8723B(PADAPTER pAdapter)
}

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