diff options
author | Dmitry Antipov <dmantipov@yandex.ru> | 2023-08-02 19:07:19 +0300 |
---|---|---|
committer | Kalle Valo <kvalo@kernel.org> | 2023-08-21 18:56:27 +0300 |
commit | 359838758ceaabeadec2aab7a4ae1c8c89372c21 (patch) | |
tree | 2e9d9bded7cc46a50990a048e28af31072d8bb2c /drivers/leds | |
parent | a6b3a0169ade026b257be58f9295f5eec7edd359 (diff) | |
download | linux-359838758ceaabeadec2aab7a4ae1c8c89372c21.tar.xz |
wifi: mwifiex: drop BUG_ON from TX paths
In 'mwifiex_process_sta_txpd()' and 'mwifiex_process_uap_txpd()',
replace 'BUG_ON()' with runtime check, and move all these checks
to 'mwifiex_process_tx()'. This way, both callees may be converted
to 'void', and the caller may be simplified as well.
Suggested-by: Brian Norris <briannorris@chromium.org>
Signed-off-by: Dmitry Antipov <dmantipov@yandex.ru>
Acked-by: Brian Norris <briannorris@chromium.org>
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Link: https://lore.kernel.org/r/20230802160726.85545-5-dmantipov@yandex.ru
Diffstat (limited to 'drivers/leds')
0 files changed, 0 insertions, 0 deletions