diff --git a/wpa_supplicant/mlme.h b/wpa_supplicant/mlme.h index f1c8abadf..5d8975291 100644 --- a/wpa_supplicant/mlme.h +++ b/wpa_supplicant/mlme.h @@ -88,7 +88,7 @@ static inline int ieee80211_sta_get_ssid(struct wpa_supplicant *wpa_s, } static inline void -ieee80211_sta_free_hw_features(struct wpa_hw_modes *hw_features, +ieee80211_sta_free_hw_features(struct hostapd_hw_modes *hw_features, size_t num_hw_features) { } diff --git a/wpa_supplicant/wpa_priv.c b/wpa_supplicant/wpa_priv.c index 4a27125d9..592e47c04 100644 --- a/wpa_supplicant/wpa_priv.c +++ b/wpa_supplicant/wpa_priv.c @@ -1050,7 +1050,7 @@ void wpa_supplicant_rx_eapol(void *ctx, const u8 *src_addr, #ifdef CONFIG_CLIENT_MLME -void wpa_supplicant_sta_free_hw_features(struct wpa_hw_modes *hw_features, +void wpa_supplicant_sta_free_hw_features(struct hostapd_hw_modes *hw_features, size_t num_hw_features) { size_t i;