OpenCloudOS-Kernel/drivers/net/wireless/ath/wcn36xx
Daniel Mack f276ba06e8 wcn36xx: dequeue all pending indicator messages
In case wcn36xx_smd_rsp_process() is called more than once before
hal_ind_work was dispatched, the messages will end up in hal_ind_queue,
but wcn36xx_ind_smd_work() will only look at the first message in that
list.

Fix this by dequeing the messages from the list in a loop, and only stop
when it's empty.

This issue was found during a review of the driver. In my tests, that
race never actually occured.

Signed-off-by: Daniel Mack <daniel@zonque.org>
Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
2018-03-29 11:58:44 +03:00
..
Kconfig soc: qcom: smd: Transition client drivers from smd to rpmsg 2017-03-28 17:58:07 -07:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
debug.c wireless: Use octal not symbolic permissions 2018-03-27 11:01:13 +03:00
debug.h
dxe.c wcn36xx: Fix firmware crash due to corrupted buffer address 2018-03-29 11:57:19 +03:00
dxe.h wcn36xx: Fix firmware crash due to corrupted buffer address 2018-03-29 11:57:19 +03:00
hal.h wcn36xx: Add hardware scan offload support 2017-12-14 17:28:59 +02:00
main.c wcn36xx: turn off probe response offloading 2018-03-29 11:56:13 +03:00
pmc.c wcn36xx: Fix dynamic power saving 2018-01-04 18:41:48 +02:00
pmc.h
smd.c wcn36xx: dequeue all pending indicator messages 2018-03-29 11:58:44 +03:00
smd.h wcn36xx: Add hardware scan offload support 2017-12-14 17:28:59 +02:00
txrx.c wcn36xx: Fix firmware crash due to corrupted buffer address 2018-03-29 11:57:19 +03:00
txrx.h wcn36xx: let device generate qos seq numbers 2015-01-23 19:11:58 +02:00
wcn36xx.h wcn36xx: reduce verbosity of drivers messages 2018-03-26 18:11:23 +03:00