From: Jouni Malinen Date: Wed, 24 Nov 2010 14:52:04 +0000 (+0200) Subject: Fix wpa_supplicant AP mode build after hostapd changes X-Git-Tag: hostap-1-bp~735 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fe99fb74f109b37d1deef2610dd0ffe7faea5045;p=thirdparty%2Fhostap.git Fix wpa_supplicant AP mode build after hostapd changes --- diff --git a/wpa_supplicant/ap.c b/wpa_supplicant/ap.c index 675279383..6e84a6428 100644 --- a/wpa_supplicant/ap.c +++ b/wpa_supplicant/ap.c @@ -21,6 +21,7 @@ #include "common/wpa_ctrl.h" #include "ap/hostapd.h" #include "ap/ap_config.h" +#include "ap/ap_drv_ops.h" #ifdef NEED_AP_MLME #include "ap/ieee802_11.h" #endif /* NEED_AP_MLME */ @@ -786,7 +787,7 @@ int wpa_supplicant_ap_update_beacon(struct wpa_supplicant *wpa_s) ieee802_11_set_beacons(iface); hapd = iface->bss[0]; - hapd->drv.set_ap_wps_ie(hapd); + hostapd_set_ap_wps_ie(hapd); return 0; }