WifiStateMachine: update new mode in initial state

When WifiController calls setOperationalMode a CMD_SET_OPERATIONAL_MODE
message is sent to WifiStateMachine.  When this message is received in
the InitialState, it is not handled where it is then dropped in the
default state.  Dropping this message causes WifiController and
WifiStateMachine to get out of sync on the operating mode.

BUG:29938263
Change-Id: I8481af8d6826f3da18f5762833a7b145d81b74dd
TEST:runtest frameworks-wifi
2 files changed
tree: 472e2dee88771d1020c8dc19275f1603882ce860
  1. service/
  2. tests/