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
This commit is contained in:
Andriy Tkachuk 2008-09-24 13:02:17 +03:00 committed by Jouni Malinen
parent 23e072374e
commit 488af690b6

View file

@ -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",