wcn36xx: handle connection loss indication
authorBenjamin Li <benl@squareup.com>
Wed, 1 Sep 2021 18:06:05 +0000 (11:06 -0700)
committerKalle Valo <kvalo@codeaurora.org>
Tue, 21 Sep 2021 13:31:41 +0000 (16:31 +0300)
commitd6dbce453b19c64b96f3e927b10230f9a704b504
treef8262dd867fc494d9aea42ff0e22abb3cef7d3cc
parentfeab5bb8f1d4621025dceae7eef62d5f92de34ac
wcn36xx: handle connection loss indication

Firmware sends delete_sta_context_ind when it detects the AP has gone
away in STA mode. Right now the handler for that indication only handles
AP mode; fix it to also handle STA mode.

Cc: stable@vger.kernel.org
Signed-off-by: Benjamin Li <benl@squareup.com>
Reviewed-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
Reviewed-by: Loic Poulain <loic.poulain@linaro.org>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/20210901180606.11686-1-benl@squareup.com
drivers/net/wireless/ath/wcn36xx/smd.c