]> git.baikalelectronics.ru Git - kernel.git/commit
wcn36xx: abort scan request when 'dequeued' indicator is sent
authorDaniel Mack <daniel@zonque.org>
Tue, 17 Apr 2018 13:23:33 +0000 (15:23 +0200)
committerKalle Valo <kvalo@codeaurora.org>
Tue, 24 Apr 2018 06:05:58 +0000 (09:05 +0300)
commit42c39f9a47b58895fb85ec4bbf50b9c975434cba
treedd66b5d66ba2d99f6addeda59c670c9338c6af71
parentb5159367ae72f14fdaeccc13f947ad2524bd80fb
wcn36xx: abort scan request when 'dequeued' indicator is sent

When the firmware sends a WCN36XX_HAL_SCAN_IND_DEQUEUED indication,
the request is apparently no longer valid. Attempts to stop the hardware
scan request subsequently will lead to the following error message, and
the hardware is no longer able to communicate with any AP:

[   57.917186] wcn36xx: ERROR hal_stop_scan_offload response failed err=5

Interpreting this indicator message as scan abortion fixes this.

While at it, add a newline to a debug print.

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