From 42dd65d1b4aedd43744ccb491b6020fcf6432cb1 Mon Sep 17 00:00:00 2001 From: kimocoder Date: Mon, 17 Jun 2019 20:23:29 +0200 Subject: [PATCH] Fixed a switch-unreachable issue on compile --- hal/hal_mp.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/hal/hal_mp.c b/hal/hal_mp.c index 1af9de3..c876a02 100644 --- a/hal/hal_mp.c +++ b/hal/hal_mp.c @@ -1009,7 +1009,8 @@ void mpt_SetRFPath_8812A(PADAPTER pAdapter) } switch (ulAntennaRx) { - u32 reg0xC50 = 0; + // kimocoder edit below + u32 reg0xC50; case ANTENNA_A: phy_set_bb_reg(pAdapter, rRxPath_Jaguar, bMaskByte0, 0x11); phy_set_rf_reg(pAdapter, RF_PATH_B, RF_AC_Jaguar, 0xF0000, 0x1); /*/ RF_B_0x0[19:16] = 1, Standby mode*/