WifiStateMachinePrime: discard messages from old managers

Discard updates from previous mode managers in Client and ScanOnly
modes.

Bug: 79532177
Test: toggle wifi quickly
Test: WifiCrashTest
Test: frameworks/opt/net/wifi/tests/wifitests/runtests.sh
Change-Id: I790baf5eb522b8aab37834920233d9e751ca0045
1 file changed