ath6kl: abort normal scan when scheduled scan is started
authorKalle Valo <kvalo@qca.qualcomm.com>
Wed, 21 Mar 2012 08:01:09 +0000 (10:01 +0200)
committerKalle Valo <kvalo@qca.qualcomm.com>
Wed, 21 Mar 2012 08:06:43 +0000 (10:06 +0200)
commitb4d13d3b70b085ef9b8e0bf7132d502d77d9ffc6
tree60a868d928a50f3797c2e3a633283ce08458a507
parent7084beeadb9b3cf5d8783210a1e4b281b07fa6cd
ath6kl: abort normal scan when scheduled scan is started

If the device disconnects from an AP when it is in suspending state. You will
get the following message from wpa_supplicant after waking the device up and
sending scan request:

"Scan trigger failed: ret=-16 (Device or resource busy)"

Fix the issue by sending a scan complete event before starting scheduled
scan.

kvalo: cosmetic changes to commit log

Signed-off-by: Isaac.li <shonmou@gmail.com>
Tested-by: Raja Mani <rmani@qca.qualcomm.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath6kl/cfg80211.c