wifi: rtw89: move H2C of del_pkt_offload before polling FW status ready
authorChin-Yen Lee <timlee@realtek.com>
Tue, 14 Feb 2023 11:43:14 +0000 (19:43 +0800)
committerKalle Valo <kvalo@kernel.org>
Wed, 15 Feb 2023 07:51:17 +0000 (09:51 +0200)
commitce1ba4d782d94fc8ed9116c774e2e5885626836b
tree377b178e86a361c48ac5b1bdfcc500f8eee526e5
parent210871887208d1098d65b9bb597e7f9aa1c66900
wifi: rtw89: move H2C of del_pkt_offload before polling FW status ready

The H2C of del_pkt_offload must be called before polling FW status
ready, otherwise the following downloading normal FW will fail.

Fixes: 5c12bb66b79d ("wifi: rtw89: refine packet offload flow")
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://lore.kernel.org/r/20230214114314.5268-1-pkshih@realtek.com
drivers/net/wireless/realtek/rtw89/wow.c