WifiStateMachine: Shutdown IpClient when exiting client mode

We should explicitly shutdown the previous IpClient instance when we
exit client mode to cleanup its internal registrations.

Bug: 77999594
Test: Unit tests
Test: WifiManagerTest ACTS tests
Change-Id: Ic0650c40f5e7544b886bc774010dd277cfd9d739
2 files changed
tree: 9cab133cb6f0434b4fb737204433f1578fca4d43
  1. service/
  2. PREUPLOAD.cfg