aboutsummaryrefslogtreecommitdiffstats
path: root/src/ap/wpa_auth_glue.c
diff options
context:
space:
mode:
authorJouni Malinen <jouni.malinen@atheros.com>2010-11-24 13:19:50 (GMT)
committerJouni Malinen <j@w1.fi>2010-11-24 13:19:50 (GMT)
commitcee7d66b1d2f353ebb42ae6eabbcd1d34626c630 (patch)
treecaa422c3b5e33f7609f11ec1efad73f1a55d89c0 /src/ap/wpa_auth_glue.c
parent719007f5c03e61c90aa87587df1f14ed663dd2d9 (diff)
downloadhostap-cee7d66b1d2f353ebb42ae6eabbcd1d34626c630.zip
hostap-cee7d66b1d2f353ebb42ae6eabbcd1d34626c630.tar.gz
hostap-cee7d66b1d2f353ebb42ae6eabbcd1d34626c630.tar.bz2
hostapd: Start removing struct hostapd_driver_ops abstraction
Commit bf65bc638fe438b96f2986580ad167d5e276ef4c started the path to add this new abstraction for driver operations in AP mode to allow wpa_supplicant to control AP mode operations. At that point, the extra abstraction was needed, but it is not needed anymore since hostapd and wpa_supplicant share the same struct wpa_driver_ops. Start removing the unneeded abstraction by converting send_mgmt_frame() to an inline function, hostapd_drv_send_mlme(). This is similar to the design that is used in wpa_supplicant and that was used in hostapd in the past (hostapd_send_mgmt_frame() inline function).
Diffstat (limited to 'src/ap/wpa_auth_glue.c')
-rw-r--r--src/ap/wpa_auth_glue.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ap/wpa_auth_glue.c b/src/ap/wpa_auth_glue.c
index afa13a6..ed43d90 100644
--- a/src/ap/wpa_auth_glue.c
+++ b/src/ap/wpa_auth_glue.c
@@ -396,7 +396,7 @@ static int hostapd_wpa_auth_send_ft_action(void *ctx, const u8 *dst,
os_memcpy(m->bssid, hapd->own_addr, ETH_ALEN);
os_memcpy(&m->u, data, data_len);
- res = hapd->drv.send_mgmt_frame(hapd, (u8 *) m, mlen);
+ res = hostapd_drv_send_mlme(hapd, (u8 *) m, mlen);
os_free(m);
return res;
}