From 210ff0f7f307621e8c14b2f3ee93b479d9deaef4 Mon Sep 17 00:00:00 2001 From: Jouni Malinen Date: Sun, 4 Dec 2011 12:46:01 +0200 Subject: [PATCH] Fix no-NEED_AP_MLME build Commit 34445d12eeb2eea53f50e5021e260dc0d07cbbbd forgot to convert the hostapd_prepare_rates() inline wrapper for builds that do not define NEED_AP_MLME. Signed-hostap: Jouni Malinen --- src/ap/hw_features.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ap/hw_features.h b/src/ap/hw_features.h index 77809e507..abadcd137 100644 --- a/src/ap/hw_features.h +++ b/src/ap/hw_features.h @@ -60,7 +60,7 @@ static inline int hostapd_check_ht_capab(struct hostapd_iface *iface) return 0; } -static inline int hostapd_prepare_rates(struct hostapd_data *hapd, +static inline int hostapd_prepare_rates(struct hostapd_iface *iface, struct hostapd_hw_modes *mode) { return 0;