Set WifiInfo Passpoint fields to null if not a Passpoint network

Make sure WifiInfo Passpoint/OSU fields are set to null if not
a Passpoint/OSU connection.

These fields are set during DisconnectState on a connection to a
Passpoint network. However, if we start a new connection while
still in DisconnectState, we never reset the WifiInfo since there
is no handleNetworkDisconnect. This results in the WifiInfo
persisting the Passpoint fields and the UI seeing that we are still
connected to the Passpoint network even though we'vec onnected to a
different network.

Test: atest ClientModeImplTest
Bug: 128700122
Change-Id: I37313b7eeee53de7aa196b199ac2142c01967da2
2 files changed