ath6kl: don't use cfg80211_scan_request after cfg80211_scan_done()
authorKalle Valo <kvalo@qca.qualcomm.com>
Thu, 27 Oct 2011 15:47:46 +0000 (18:47 +0300)
committerKalle Valo <kvalo@qca.qualcomm.com>
Fri, 11 Nov 2011 10:58:55 +0000 (12:58 +0200)
Use of cfg80211_scan_request is not valid after calling cfg80211_scan_done()
but ath6kl_cfg80211_scan_complete_event() was doing exactly that. Change
the function to call cfg80211_scan_done() last.

This was found during code review, I didn't see any visible problems
due to this bug.

Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>

No differences found