123456789101112131415161718192021222324252627282930313233343536 |
- #include "includes.h"
- #include "common.h"
- #include "hostapd.h"
- #include "driver_i.h"
- static int hostapd_set_ap_wps_ie(struct hostapd_data *hapd,
- const struct wpabuf *beacon,
- const struct wpabuf *proberesp)
- {
- if (hapd->driver == NULL || hapd->driver->set_ap_wps_ie == NULL)
- return 0;
- return hapd->driver->set_ap_wps_ie(hapd->conf->iface, hapd->drv_priv,
- beacon, proberesp);
- }
- void hostapd_set_driver_ops(struct hostapd_driver_ops *ops)
- {
- ops->set_ap_wps_ie = hostapd_set_ap_wps_ie;
- }
|