projects
/
mech_eap.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add STOP_AP control interface command
[mech_eap.git]
/
src
/
ap
/
ap_drv_ops.h
diff --git
a/src/ap/ap_drv_ops.h
b/src/ap/ap_drv_ops.h
index
c133be7
..
1c80695
100644
(file)
--- a/
src/ap/ap_drv_ops.h
+++ b/
src/ap/ap_drv_ops.h
@@
-335,4
+335,11
@@
static inline int hostapd_drv_vendor_cmd(struct hostapd_data *hapd,
data_len, buf);
}
+static inline int hostapd_drv_stop_ap(struct hostapd_data *hapd)
+{
+ if (hapd->driver == NULL || hapd->driver->stop_ap == NULL)
+ return 0;
+ return hapd->driver->stop_ap(hapd->drv_priv);
+}
+
#endif /* AP_DRV_OPS */