}
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
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