linux_dsm_epyc7002/drivers/net/wireless/realtek/rtlwifi/rtl8723ae
Gustavo A. R. Silva 84242b82d8 rtlwifi: rtl8723ae: Fix missing break in switch statement
Add missing break statement in order to prevent the code from falling
through to case 0x1025, and erroneously setting rtlhal->oem_id to
RT_CID_819X_ACER when rtlefuse->eeprom_svid is equal to 0x10EC and
none of the cases in switch (rtlefuse->eeprom_smid) match.

This bug was found thanks to the ongoing efforts to enable
-Wimplicit-fallthrough.

Fixes: 238ad2ddf3 ("rtlwifi: rtl8723ae: Clean up the hardware info routine")
Cc: stable@vger.kernel.org
Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
2019-04-25 19:55:48 +03:00
..
btc.h rtlwifi: rtl8723ae: Replace old-style license information 2019-02-19 17:00:24 +02:00
def.h rtlwifi: rtl8723{be,ae}: Remove CamelCase variables 2019-02-19 17:03:05 +02:00
dm.c rtlwifi: rtl8723ae: Make rtl8723e_dm_refresh_rate_adaptive_mask static 2019-04-13 14:17:52 +03:00
dm.h rtlwifi: rtl8723ae: Replace old-style license information 2019-02-19 17:00:24 +02:00
fw.c rtlwifi: fix potential NULL pointer dereference 2019-04-04 13:25:27 +03:00
fw.h rtlwifi: rtl8723ae: Replace old-style license information 2019-02-19 17:00:24 +02:00
hal_bt_coexist.c rtlwifi: rtl8723ae: Replace old-style license information 2019-02-19 17:00:24 +02:00
hal_bt_coexist.h rtlwifi: rtl8723ae: Replace old-style license information 2019-02-19 17:00:24 +02:00
hal_btc.c rtlwifi: rtl8723ae: Remove set but not used variable 'bt_retry_cnt' 2019-02-28 10:39:46 +02:00
hal_btc.h rtlwifi: rtl8723ae: Replace old-style license information 2019-02-19 17:00:24 +02:00
hw.c rtlwifi: rtl8723ae: Fix missing break in switch statement 2019-04-25 19:55:48 +03:00
hw.h rtlwifi: rtl8723ae: Replace old-style license information 2019-02-19 17:00:24 +02:00
led.c rtlwifi: rtl8723ae: Replace old-style license information 2019-02-19 17:00:24 +02:00
led.h rtlwifi: rtl8723ae: Replace old-style license information 2019-02-19 17:00:24 +02:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
phy.c rtlwifi: rtl8723{be,ae}: Remove CamelCase variables 2019-02-19 17:03:05 +02:00
phy.h rtlwifi: rtl8723{be,ae}: Remove CamelCase variables 2019-02-19 17:03:05 +02:00
pwrseq.c rtlwifi: rtl8723ae: Replace old-style license information 2019-02-19 17:00:24 +02:00
pwrseq.h rtlwifi: rtl8723{be,ae}: Remove CamelCase variables 2019-02-19 17:03:05 +02:00
reg.h rtlwifi: rtl8723ae: Replace old-style license information 2019-02-19 17:00:24 +02:00
rf.c rtlwifi: rtl8723ae: Replace old-style license information 2019-02-19 17:00:24 +02:00
rf.h rtlwifi: rtl8723ae: Replace old-style license information 2019-02-19 17:00:24 +02:00
sw.c rtlwifi: rtl8723{be,ae}: Remove CamelCase variables 2019-02-19 17:03:05 +02:00
sw.h rtlwifi: rtl8723ae: Replace old-style license information 2019-02-19 17:00:24 +02:00
table.c rtlwifi: rtl8723ae: Replace old-style license information 2019-02-19 17:00:24 +02:00
table.h rtlwifi: rtl8723ae: Replace old-style license information 2019-02-19 17:00:24 +02:00
trx.c rtlwifi: Remove CamelCase variables from base code 2019-02-19 17:02:51 +02:00
trx.h rtlwifi: rtl8723ae: Replace old-style license information 2019-02-19 17:00:24 +02:00