nl80211: Fix no-WEXT_COMPAT build

wpa_driver_nl80211_set_ssid() and wpa_driver_nl80211_set_freq() are only
for WEXT_COMPAT now that the user space MLME code is removed.
This commit is contained in:
Jouni Malinen 2009-03-20 22:44:53 +02:00 committed by Jouni Malinen
parent c9d2ffbc4c
commit af723760ba

View file

@ -383,6 +383,7 @@ static int wpa_driver_nl80211_get_ssid(void *priv, u8 *ssid)
} }
#ifdef WEXT_COMPAT
static int wpa_driver_nl80211_set_ssid(void *priv, const u8 *ssid, static int wpa_driver_nl80211_set_ssid(void *priv, const u8 *ssid,
size_t ssid_len) size_t ssid_len)
{ {
@ -444,7 +445,6 @@ static int wpa_driver_nl80211_set_freq(void *priv, int freq)
} }
#ifdef WEXT_COMPAT
static void static void
wpa_driver_nl80211_event_wireless_custom(void *ctx, char *custom) wpa_driver_nl80211_event_wireless_custom(void *ctx, char *custom)
{ {