Remove unneeded inclusion of hostapd header files
[wpasupplicant] / hostapd / driver_i.h
index 81be227..ce1259d 100644 (file)
@@ -175,12 +175,11 @@ hostapd_set_ssid(struct hostapd_data *hapd, const u8 *buf, size_t len)
 }
 
 static inline int
-hostapd_send_mgmt_frame(struct hostapd_data *hapd, const void *msg, size_t len,
-                       int flags)
+hostapd_send_mgmt_frame(struct hostapd_data *hapd, const void *msg, size_t len)
 {
-       if (hapd->driver == NULL || hapd->driver->send_mgmt_frame == NULL)
+       if (hapd->driver == NULL || hapd->driver->send_mlme == NULL)
                return 0;
-       return hapd->driver->send_mgmt_frame(hapd->drv_priv, msg, len, flags);
+       return hapd->driver->send_mlme(hapd->drv_priv, msg, len);
 }
 
 static inline int
@@ -292,9 +291,9 @@ static inline int
 hostapd_set_country(struct hostapd_data *hapd, const char *country)
 {
        if (hapd->driver == NULL ||
-           hapd->driver->hapd_set_country == NULL)
+           hapd->driver->set_country == NULL)
                return 0;
-       return hapd->driver->hapd_set_country(hapd->drv_priv, country);
+       return hapd->driver->set_country(hapd->drv_priv, country);
 }
 
 static inline int