aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/driver_i.h
diff options
context:
space:
mode:
authorJouni Malinen <jouni.malinen@atheros.com>2009-11-23 19:13:46 (GMT)
committerJouni Malinen <j@w1.fi>2009-11-23 19:13:46 (GMT)
commitc2e8d0a092fa95e1a4db8273ec4398fee4342d67 (patch)
treef85f24fb0431d8b4f75e12e3734c4071baaed952 /wpa_supplicant/driver_i.h
parent4a867032aeba4825cd18ddf14199dd81f760e81a (diff)
downloadhostap-c2e8d0a092fa95e1a4db8273ec4398fee4342d67.zip
hostap-c2e8d0a092fa95e1a4db8273ec4398fee4342d67.tar.gz
hostap-c2e8d0a092fa95e1a4db8273ec4398fee4342d67.tar.bz2
Remove deprecated scan and set_probe_req_ie driver_ops
These have been replaced with scan2 driver_ops that provides all parameters in a single call.
Diffstat (limited to 'wpa_supplicant/driver_i.h')
-rw-r--r--wpa_supplicant/driver_i.h13
1 files changed, 0 insertions, 13 deletions
diff --git a/wpa_supplicant/driver_i.h b/wpa_supplicant/driver_i.h
index 17c3bdc..7450380 100644
--- a/wpa_supplicant/driver_i.h
+++ b/wpa_supplicant/driver_i.h
@@ -75,10 +75,6 @@ static inline int wpa_drv_scan(struct wpa_supplicant *wpa_s,
{
if (wpa_s->driver->scan2)
return wpa_s->driver->scan2(wpa_s->drv_priv, params);
- if (wpa_s->driver->scan)
- return wpa_s->driver->scan(wpa_s->drv_priv,
- params->ssids[0].ssid,
- params->ssids[0].ssid_len);
return -1;
}
@@ -333,15 +329,6 @@ static inline int wpa_drv_send_ft_action(struct wpa_supplicant *wpa_s,
return -1;
}
-static inline int wpa_drv_set_probe_req_ie(struct wpa_supplicant *wpa_s,
- const u8 *ies, size_t ies_len)
-{
- if (wpa_s->driver->set_probe_req_ie)
- return wpa_s->driver->set_probe_req_ie(wpa_s->drv_priv, ies,
- ies_len);
- return -1;
-}
-
static inline int wpa_drv_set_beacon(struct wpa_supplicant *wpa_s,
const u8 *head, size_t head_len,
const u8 *tail, size_t tail_len,