OSDN Git Service

wifi: mt76: connac: accept hw scan request at a time
authorSean Wang <sean.wang@mediatek.com>
Thu, 10 Nov 2022 21:23:47 +0000 (05:23 +0800)
committerFelix Fietkau <nbd@nbd.name>
Thu, 1 Dec 2022 16:29:13 +0000 (17:29 +0100)
commitfe62788b6233df0fe43920e32f30c9583d584117
treefa3910d1c9bfab375ab54b04050111ccfb3f0253
parent98678fc03c9599be3bac7a1e253d2697b3a26624
wifi: mt76: connac: accept hw scan request at a time

The current hw scan cannot accept multiple hw scan requests at a time, we
return the proper error code when the hw scan is still undergoing.

Signed-off-by: Sean Wang <sean.wang@mediatek.com>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
drivers/net/wireless/mediatek/mt76/mt76_connac_mcu.c