diff options
author | Gustavo A. R. Silva <gustavo@embeddedor.com> | 2019-04-16 10:17:22 -0500 |
---|---|---|
committer | Kalle Valo <kvalo@codeaurora.org> | 2019-04-25 19:55:48 +0300 |
commit | 84242b82d81c54e009a2aaa74d3d9eff70babf56 (patch) | |
tree | 91b995321836dd7f03e25592a507931a997149eb /tools/perf/scripts/python | |
parent | 3b989e58e88ae43331bb268e431caa4360003c13 (diff) |
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: 238ad2ddf34b ("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>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions