Update WifiStateMachine.java