aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/driver_i.h
diff options
context:
space:
mode:
authorSunil Dutt <usdutt@qti.qualcomm.com>2016-11-30 04:34:38 (GMT)
committerJouni Malinen <j@w1.fi>2016-11-30 17:33:39 (GMT)
commiteeb34a432e183003f0651da55ff2a64b609b6988 (patch)
tree75f1bd3568f89e3113522ffd02dbe0c9a5f1bb8e /wpa_supplicant/driver_i.h
parent1a793f5c2b43c58e19dac9550a672533865baf35 (diff)
downloadhostap-eeb34a432e183003f0651da55ff2a64b609b6988.zip
hostap-eeb34a432e183003f0651da55ff2a64b609b6988.tar.gz
hostap-eeb34a432e183003f0651da55ff2a64b609b6988.tar.bz2
nl80211: Enhance abort scan to also abort the vendor scan
This commit enhances the abort scan implementation to also abort the vendor scan, if one was used to trigger the scan. Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
Diffstat (limited to 'wpa_supplicant/driver_i.h')
-rw-r--r--wpa_supplicant/driver_i.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/wpa_supplicant/driver_i.h b/wpa_supplicant/driver_i.h
index cf08556..4758c16 100644
--- a/wpa_supplicant/driver_i.h
+++ b/wpa_supplicant/driver_i.h
@@ -916,11 +916,12 @@ static inline int wpa_drv_set_prob_oper_freq(struct wpa_supplicant *wpa_s,
return wpa_s->driver->set_prob_oper_freq(wpa_s->drv_priv, freq);
}
-static inline int wpa_drv_abort_scan(struct wpa_supplicant *wpa_s)
+static inline int wpa_drv_abort_scan(struct wpa_supplicant *wpa_s,
+ u64 scan_cookie)
{
if (!wpa_s->driver->abort_scan)
return -1;
- return wpa_s->driver->abort_scan(wpa_s->drv_priv);
+ return wpa_s->driver->abort_scan(wpa_s->drv_priv, scan_cookie);
}
static inline int wpa_drv_configure_frame_filters(struct wpa_supplicant *wpa_s,