Drop connection attempt if network is disabled before radio work starts

With the radio work design, it is possible for a network entry to get
disabled (e.g., DISABLE_NETWORK <id>) during the time the connect or
sme-connect radio work waits to start. Previously, only the validity of
the BSS entry and BSSID/SSID was verified when starting the actual
connection step. Add call to wpas_network_disabled() to those checks to
catch the case where the network profile is disabled.

CRs-Fixed: 887619
Git-repo : git://w1.fi/srv/git/hostap.git
Git-commit: 6108536d7d216fc742c2c85a11ac392ed386cfc8
Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>

Change-Id: I37b505e2cdcb16f562bef42ae13334255e5dc71b
2 files changed