aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant/driver_i.h
diff options
context:
space:
mode:
authorJouni Malinen <jouni.malinen@atheros.com>2010-01-16 10:20:51 (GMT)
committerJouni Malinen <j@w1.fi>2010-01-16 10:20:51 (GMT)
commitaf47308823091df79acd44b14635b871e53124f0 (patch)
tree7822949ee4c3faa37ecd32720c77469aced2c722 /wpa_supplicant/driver_i.h
parente882899981cf031156d25c2f9ad778734bf03266 (diff)
downloadhostap-af47308823091df79acd44b14635b871e53124f0.zip
hostap-af47308823091df79acd44b14635b871e53124f0.tar.gz
hostap-af47308823091df79acd44b14635b871e53124f0.tar.bz2
Add deinit_ap driver op to help wpa_supplicant AP mode use
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 5f3e149..203cbfc 100644
--- a/wpa_supplicant/driver_i.h
+++ b/wpa_supplicant/driver_i.h
@@ -449,4 +449,11 @@ static inline int wpa_drv_disable_11b_rates(struct wpa_supplicant *wpa_s,
return -1;
}
+static inline int wpa_drv_deinit_ap(struct wpa_supplicant *wpa_s)
+{
+ if (wpa_s->driver->deinit_ap)
+ return wpa_s->driver->deinit_ap(wpa_s->drv_priv);
+ return 0;
+}
+
#endif /* DRIVER_I_H */