]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
wcn36xx: handle connection loss indication
authorBenjamin Li <benl@squareup.com>
Wed, 1 Sep 2021 18:06:05 +0000 (11:06 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 26 Nov 2021 10:36:01 +0000 (11:36 +0100)
commitf0be5d2959ec6f570952815df728b46c2e5f4280
tree6da74bd9064d8e53ce3e7e69eed48462a198b0da
parent30ac5bf460d4c9b72f8204c24ee11ef49d985d7c
wcn36xx: handle connection loss indication

commit d6dbce453b19c64b96f3e927b10230f9a704b504 upstream.

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
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/wireless/ath/wcn36xx/smd.c