[DO NOT MERGE] WifiStateMachine: better handle disconnect

Allow WifiStateMachine to disconnect by handling the CMD_DISCONNECT call
if supplicant is currently connecting.  If it is not connecting, the
call will be ignored (to avoid cancelling scans and confusing supplicant).

BUG: 30507955
Change-Id: Id91f372efc180c2eb0449d7d53e24960d473690b
TEST: runtest frameworks-wifi
1 file changed
tree: aa01b077ef418a62aca5fd23ae6c9051bc3a1360
  1. service/
  2. tests/