aboutsummaryrefslogtreecommitdiffstats
path: root/wpa_supplicant
diff options
context:
space:
mode:
authorJouni Malinen <j@w1.fi>2015-11-23 21:33:55 (GMT)
committerJouni Malinen <j@w1.fi>2015-11-23 21:33:55 (GMT)
commiteb926f1257b1b8e2812acb432df4e0568eeb898e (patch)
tree878e70d42a6cbb5c0c0aaf93c1f8af3e7611715c /wpa_supplicant
parent81822ce6886fa993b5ab25a9f2b005a4f1ce5bae (diff)
downloadhostap-eb926f1257b1b8e2812acb432df4e0568eeb898e.zip
hostap-eb926f1257b1b8e2812acb432df4e0568eeb898e.tar.gz
hostap-eb926f1257b1b8e2812acb432df4e0568eeb898e.tar.bz2
Comment out wpas_reenabled_network_time with CONFIG_NO_SCAN_PROCESSING
This removes a compiler warning about unused function. Signed-off-by: Jouni Malinen <j@w1.fi>
Diffstat (limited to 'wpa_supplicant')
-rw-r--r--wpa_supplicant/events.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/wpa_supplicant/events.c b/wpa_supplicant/events.c
index 547aa98..30f276b 100644
--- a/wpa_supplicant/events.c
+++ b/wpa_supplicant/events.c
@@ -72,6 +72,7 @@ static int wpas_temp_disabled(struct wpa_supplicant *wpa_s,
}
+#ifndef CONFIG_NO_SCAN_PROCESSING
/**
* wpas_reenabled_network_time - Time until first network is re-enabled
* @wpa_s: Pointer to wpa_supplicant data
@@ -107,6 +108,7 @@ static int wpas_reenabled_network_time(struct wpa_supplicant *wpa_s)
return res;
}
+#endif /* CONFIG_NO_SCAN_PROCESSING */
void wpas_network_reenabled(void *eloop_ctx, void *timeout_ctx)