]> git.baikalelectronics.ru Git - kernel.git/commit
wcn36xx: handle scan cancellation when firmware support is missing
authorDaniel Mack <daniel@zonque.org>
Tue, 17 Apr 2018 13:23:35 +0000 (15:23 +0200)
committerKalle Valo <kvalo@codeaurora.org>
Tue, 24 Apr 2018 06:06:13 +0000 (09:06 +0300)
commite17a0d4025c466eb530422f3164b11ab96d19e76
tree41f4308374371261319767f6e36c474d45ff7c10
parent9616a649a92797308a5d041cdddf7e79e0713912
wcn36xx: handle scan cancellation when firmware support is missing

For firmwares that don't have the SCAN_OFFLOAD feature bit set, do
not call into wcn36xx_smd_stop_hw_scan(). Instead, stop the asynchronous
work and call into ieee80211_scan_completed() immediately.

Signed-off-by: Daniel Mack <daniel@zonque.org>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/ath/wcn36xx/main.c