int ctrl_rsp = 0;
int reply_len;
+ wpa_printf(MSG_DEBUG, "CMD = %s", buf);
+
if (os_strncmp(buf, WPA_CTRL_RSP, os_strlen(WPA_CTRL_RSP)) == 0 ||
os_strncmp(buf, "SET_NETWORK ", 12) == 0) {
wpa_hexdump_ascii_key(MSG_DEBUG, "RX ctrl_iface",
wpa_s->disconnected = 1;
wpa_supplicant_disassociate(wpa_s, WLAN_REASON_DEAUTH_LEAVING);
} else if (os_strcmp(buf, "SCAN") == 0) {
+ wpa_printf(MSG_ERROR, "Framework Scan request");
#ifdef ANDROID
if (!wpa_s->scanning && ((wpa_s->wpa_state <= WPA_SCANNING) ||
(wpa_s->wpa_state >= WPA_COMPLETED))) {
enum wps_request_type req_type = WPS_REQ_ENROLLEE_INFO;
#endif /* CONFIG_WPS */
- wpa_printf(MSG_DEBUG, "%s: scan_req = %d, ap_scan = %d", __func__,
+ wpa_printf(MSG_ERROR, "%s: scan_req = %d, ap_scan = %d", __func__,
wpa_s->scan_req, wpa_s->conf->ap_scan);
if (wpa_s->disconnected && !wpa_s->scan_req) {
int scan_probe_flag = 0;
#endif
+ wpa_printf(MSG_ERROR, "%s: Start", __func__);
+
if (ssid_len > IW_ESSID_MAX_SIZE) {
wpa_printf(MSG_DEBUG, "%s: too long SSID (%lu)",
__FUNCTION__, (unsigned long) ssid_len);
int scan_probe_flag = 0;
if (!drv->driver_is_started) {
- wpa_printf(MSG_DEBUG, "%s: Driver stopped", __func__);
+ wpa_printf(MSG_ERROR, "%s: Driver stopped", __func__);
return -1;
}
- wpa_printf(MSG_DEBUG, "%s: Start", __func__);
+ wpa_printf(MSG_ERROR, "%s: Start", __func__);
/* Set list of SSIDs */
ssid_orig = (*ssid_ptr);
if ((ret = ioctl(drv->ioctl_sock, SIOCSIWPRIV, &iwr)) < 0) {
wpa_printf(MSG_ERROR, "ioctl[SIOCSIWPRIV] (cscan): %d", ret);
*ssid_ptr = ssid_orig;
- goto old_scan;
+ /* goto old_scan; */
}
wpa_driver_wext_set_scan_timeout(priv);