aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/driver_i.h
diff options
context:
space:
mode:
authorKanchanapally, Vidyullatha <vkanchan@qti.qualcomm.com>2015-10-19 14:00:34 (GMT)
committerJouni Malinen <j@w1.fi>2015-11-26 17:44:14 (GMT)
commit4f30addb3866a8bb9393c1cfd42e012150c36a8e (patch)
tree8cf3313d5eaa3a4d4b3fdaa3498c7b750d4db8cc /wpa_supplicant/driver_i.h
parent5ef0b843555389d5d02b85d661c7b3b9165f3c4d (diff)
downloadhostap-4f30addb3866a8bb9393c1cfd42e012150c36a8e.zip
hostap-4f30addb3866a8bb9393c1cfd42e012150c36a8e.tar.gz
hostap-4f30addb3866a8bb9393c1cfd42e012150c36a8e.tar.bz2
nl80211: Add support for aborting an ongoing scan
This adds the driver interface commands for issuing a request to abort an ongoing scan operation. Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
Diffstat (limited to 'wpa_supplicant/driver_i.h')
-rw-r--r--wpa_supplicant/driver_i.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/wpa_supplicant/driver_i.h b/wpa_supplicant/driver_i.h
index 3c2d80b..b9d213a 100644
--- a/wpa_supplicant/driver_i.h
+++ b/wpa_supplicant/driver_i.h
@@ -912,4 +912,11 @@ 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)
+{
+ if (!wpa_s->driver->abort_scan)
+ return -1;
+ return wpa_s->driver->abort_scan(wpa_s->drv_priv);
+}
+
#endif /* DRIVER_I_H */