Browse Source

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>
Jouni Malinen 9 years ago
parent
commit
eb926f1257
1 changed files with 2 additions and 0 deletions
  1. 2 0
      wpa_supplicant/events.c

+ 2 - 0
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
  * wpas_reenabled_network_time - Time until first network is re-enabled
  * @wpa_s: Pointer to wpa_supplicant data
  * @wpa_s: Pointer to wpa_supplicant data
@@ -107,6 +108,7 @@ static int wpas_reenabled_network_time(struct wpa_supplicant *wpa_s)
 
 
 	return res;
 	return res;
 }
 }
+#endif /* CONFIG_NO_SCAN_PROCESSING */
 
 
 
 
 void wpas_network_reenabled(void *eloop_ctx, void *timeout_ctx)
 void wpas_network_reenabled(void *eloop_ctx, void *timeout_ctx)