Ping-Ke Shih <pkshih@xxxxxxxxxxx> wrote: > From: Chih-Kang Chang <gary.chang@xxxxxxxxxxx> > > When scan happens before suspending, rtw89_hw_scan_complete() might > happen after suspend flow. This causes the scan to be unable to > properly indicate scan completion to mac80211 before suspending. To > fix this issue, we modify to execute rtw89_hw_scan_complete() when > rtw89_hw_scan_abort() is called, regardless of result of > rtw89_hw_scan_offload(). > > Cc: stable@xxxxxxxxxxxxxxx > Fixes: bcbefbd032df ("wifi: rtw89: add wait/completion for abort scan") > Signed-off-by: Chih-Kang Chang <gary.chang@xxxxxxxxxxx> > Signed-off-by: Ping-Ke Shih <pkshih@xxxxxxxxxxx> It seems have better way to fix this problem. Drop this patch for now.