nl80211: Do not reset vendor_scan_cookie after scan timeout

If vendor_scan_cookie is set to 0 after the scan_abort due to the scan
timeout ends in a cookie mismatch when processing the following
QCA_NL80211_VENDOR_SUBCMD_SCAN_DONE indication. This ends up considering
the scan results as being for an external scan and thus the current
ongoing scan is not removed from the radio_work. Hence, do not reset
this vendor_scan_cookie after the scan abort so that the scan completion
event gets processed properly and vendor_scan_cookie gets cleared at
that point.

Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
Git-commit: f593b6c11d3f468f1fd9e0d63ce3263c7dd8e3c7
Git-repo : git://w1.fi/srv/git/hostap.git
Change-Id: I3f69c0cd559be4490f0452f8b8a606f961c7b8fd
CRs-Fixed: 1117199
1 file changed