[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: 5fb8962d9dee390ed5733e02a2d38da93825a552
  1. service/