ath10k: scan should handle scan-start-failed event properly
authorBen Greear <greearb@candelatech.com>
Sun, 15 Feb 2015 14:50:38 +0000 (16:50 +0200)
committerKalle Valo <kvalo@qca.qualcomm.com>
Sun, 15 Feb 2015 14:50:38 +0000 (16:50 +0200)
commit2f9eec0b7148816cdb90fb87d408f6a0b11f19c3
treee54b40c24f0bbaa1d2bf5d0bab6a21e262348abd
parentd53071143aa5a7cb37cf7db8101042e700b5413f
ath10k: scan should handle scan-start-failed event properly

In case firmware fails to start the scan, then complete
the start condition and clean up so that driver does not
block on timeout.

Signed-off-by: Ben Greear <greearb@candelatech.com>
Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
drivers/net/wireless/ath/ath10k/mac.c
drivers/net/wireless/ath/ath10k/wmi.c