wifi: mwifiex: Fix missed return in oob checks failed path
authorPolaris Pi <pinkperfect2021@gmail.com>
Thu, 10 Aug 2023 08:39:11 +0000 (08:39 +0000)
committerKalle Valo <kvalo@kernel.org>
Mon, 21 Aug 2023 15:57:39 +0000 (18:57 +0300)
commit2785851c627f2db05f9271f7f63661b5dbd95c4c
tree2c65034b7440cd122283601b3bb637b08ead6f20
parenta9be18642ad6561e3313de2c7870b226f451d495
wifi: mwifiex: Fix missed return in oob checks failed path

Add missed return in mwifiex_uap_queue_bridged_pkt() and
mwifiex_process_rx_packet().

Fixes: 119585281617 ("wifi: mwifiex: Fix OOB and integer underflow when rx packets")
Signed-off-by: Polaris Pi <pinkperfect2021@gmail.com>
Reported-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/20230810083911.3725248-1-pinkperfect2021@gmail.com
drivers/net/wireless/marvell/mwifiex/sta_rx.c
drivers/net/wireless/marvell/mwifiex/uap_txrx.c