wifi: rtw89: wow: move release offload packet earlier for WoWLAN mode

Now WoWLAN firmware will disable PCIE DMA after driver call cfg_wake
function, and it will lead to release offload packet fail because driver
can't receive completion notification from firmware. We move release
offload packet earlier to avoid this error.

Signed-off-by: Chin-Yen Lee <timlee@realtek.com>
Signed-off-by: Ping-Ke Shih <pkshih@realtek.com>
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Link: https://msgid.link/20240302005828.13666-8-pkshih@realtek.com
This commit is contained in:
Chin-Yen Lee 2024-03-02 08:58:28 +08:00 • committed by Kalle Valo
commit 4dc38e3975