Use CONFIG_CTRL_IFACE_AIDL instead of ANDROID

Currently, scanning will not be started automatically (guard by ifndef
ANDROID) until receive command from aidl.

For wpa_supplicant build without aidl, scanning should starts
automatically since there is no IPC to trigger the scan. So instead of guarded by ifndef ANDROID, use ifdef
CONFIG_CTRL_IFACE_AIDL.

Bug: 254108688
Test: manual
Change-Id: I89652072bbb670fb98b8dbcbc704aa714b79b4b4
diff --git a/wpa_supplicant/wpa_supplicant.c b/wpa_supplicant/wpa_supplicant.c
index f871b9e..ccf945d 100644
--- a/wpa_supplicant/wpa_supplicant.c
+++ b/wpa_supplicant/wpa_supplicant.c
@@ -5385,14 +5385,14 @@
 			wpa_supplicant_set_state(wpa_s, WPA_DISCONNECTED);
 			interface_count = 0;
 		}
-#ifndef ANDROID
+#ifndef CONFIG_CTRL_IFACE_AIDL
 		if (!wpa_s->p2p_mgmt &&
 		    wpa_supplicant_delayed_sched_scan(wpa_s,
 						      interface_count % 3,
 						      100000))
 			wpa_supplicant_req_scan(wpa_s, interface_count % 3,
 						100000);
-#endif /* ANDROID */
+#endif /* CONFIG_CTRL_IFACE_AIDL */
 		interface_count++;
 	} else
 		wpa_supplicant_set_state(wpa_s, WPA_INACTIVE);