WifiStateMachine: Return Succeeded when connecting to the same network
If a caller sends connection request to connect to an already connected
network, we reply with a CONNECT_NETWORK_SUCCEEDED message.
Added one unit test in WifiStateMachineTest that creates and connects to
a network, and then tries to reconnect to the same network.
Bug: 35360668
Test: frameworks/opt/net/wifi/tests/wifitests/runtests.sh
Test: frameworks/base/wifi/tests/runtests.sh
Change-Id: I00da335c50f2c98de4ea12a59e927a0af0a54728
2 files changed