brcmfmac: use actframe_abort to cancel ongoing action frame
authorRyohei Kondo <ryohei.kondo@cypress.com>
Wed, 6 May 2020 13:03:20 +0000 (08:03 -0500)
committerKalle Valo <kvalo@codeaurora.org>
Tue, 12 May 2020 08:51:24 +0000 (11:51 +0300)
commit30fb1b2729099a3506222bbeff09a7ed6bca6fb0
treeb39d06044872be8b90c77d93aa8250f12209af99
parentb46f1546a708588700eb5adad0e69e944a7a000d
brcmfmac: use actframe_abort to cancel ongoing action frame

The driver sends an action frame down and waits for dwell time to be
completed or aborted before sending out the next action frame.
Driver issues "scan abort" to cancel the current time slot, but this
doesn't have any effect because, we are not using scan engine for
sending action frame.
Fix is to use "actframe_abort" to cancels the current action frame.

Signed-off-by: Ryohei Kondo <ryohei.kondo@cypress.com>
Signed-off-by: Chi-Hsien Lin <chi-hsien.lin@cypress.com>
Signed-off-by: Wright Feng <wright.feng@cypress.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/1588770201-54361-3-git-send-email-wright.feng@cypress.com
drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c