[ACTS] fix network suggestion priority issue.
Fix the priority issue when in place modify the network suggestion
Bug: 141127356
Test: acts WifiNetworkSuggestionTest
Change-Id: Ib17d4d9f176af59d86dbd8365b3436f387ac8823
diff --git a/acts/tests/google/wifi/WifiNetworkSuggestionTest.py b/acts/tests/google/wifi/WifiNetworkSuggestionTest.py
index ec5c178..5e465ba 100755
--- a/acts/tests/google/wifi/WifiNetworkSuggestionTest.py
+++ b/acts/tests/google/wifi/WifiNetworkSuggestionTest.py
@@ -280,7 +280,7 @@
wutils.wait_for_connect(self.dut, self.wpa_psk_5g[WifiEnums.SSID_KEY])
self.remove_suggestions_disconnect_and_ensure_no_connection_back(
- [], self.wpa_psk_2g[WifiEnums.SSID_KEY])
+ [], self.wpa_psk_5g[WifiEnums.SSID_KEY])
# Reverse the priority.
# Add suggestions & wait for the connection event.
@@ -288,7 +288,7 @@
network_suggestion_5g[WifiEnums.PRIORITY] = 2
self.add_suggestions_and_ensure_connection(
[network_suggestion_2g, network_suggestion_5g],
- self.wpa_psk_5g[WifiEnums.SSID_KEY],
+ self.wpa_psk_2g[WifiEnums.SSID_KEY],
None)
@test_tracker_info(uuid="b1d27eea-23c8-4c4f-b944-ef118e4cc35f")