hostapd: Start removing struct hostapd_driver_ops abstraction
[mech_eap.git] / src / ap / beacon.c
index 17cb541..0bc9079 100644 (file)
@@ -31,6 +31,7 @@
 #include "ap_config.h"
 #include "sta_info.h"
 #include "p2p_hostapd.h"
+#include "ap_drv_ops.h"
 #include "beacon.h"
 
 
@@ -375,7 +376,7 @@ void handle_probe_req(struct hostapd_data *hapd,
                pos = hostapd_eid_p2p_manage(hapd, pos);
 #endif /* CONFIG_P2P_MANAGER */
 
-       if (hapd->drv.send_mgmt_frame(hapd, resp, pos - (u8 *) resp) < 0)
+       if (hostapd_drv_send_mlme(hapd, resp, pos - (u8 *) resp) < 0)
                perror("handle_probe_req: send");
 
        os_free(resp);