ap_scan=0 in wpa_supplicant.conf

I'm seeing an issue whereby when the adhoc network is configured, and I
add network credentials using wpa_cli (or the web interface)
wpa_supplicant immediately tries to connect and fails with "SME:
Authentication request to the driver failed". Trying ap_scan=0 to see if
it prevents this.