From 488af690b69a547f30a9150c8be83fe420792ed4 Mon Sep 17 00:00:00 2001 From: Andriy Tkachuk Date: Wed, 24 Sep 2008 13:02:17 +0300 Subject: [PATCH] Fix build with CONFIG_CLIENT_MLME, but without CONFIG_IEEE80211W mlme.c: In function 'ieee80211_rx_mgmt_action': mlme.c:1990: warning: implicit declaration of function 'ieee80211_rx_mgmt_ping_action' ... mlme.o(.text+0x3007): In function `ieee80211_sta_rx': /home/ant/hostap/hostap06/hostap/wpa_supplicant/mlme.c:1990: undefined reference to `ieee80211_rx_mgmt_ping_action' collect2: ld returned 1 exit status --- wpa_supplicant/mlme.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wpa_supplicant/mlme.c b/wpa_supplicant/mlme.c index 092ad41b6..6cf51aa4e 100644 --- a/wpa_supplicant/mlme.c +++ b/wpa_supplicant/mlme.c @@ -1986,10 +1986,10 @@ static void ieee80211_rx_mgmt_action(struct wpa_supplicant *wpa_s, ieee80211_rx_mgmt_ft_action(wpa_s, mgmt, len, rx_status); break; #endif /* CONFIG_IEEE80211R */ +#ifdef CONFIG_IEEE80211W case WLAN_ACTION_PING: ieee80211_rx_mgmt_ping_action(wpa_s, mgmt, len, rx_status); break; -#ifdef CONFIG_IEEE80211W #endif /* CONFIG_IEEE80211W */ default: wpa_printf(MSG_DEBUG, "MLME: unknown Action Category %d",