[acts] mac randomization different APs bug fix

Bug: 129076522
Test: run on chromeos-dev server
Change-Id: I9cb525a5701b7fdff3eb2cf9131386cbc9428202
diff --git a/acts/tests/google/wifi/WifiMacRandomizationTest.py b/acts/tests/google/wifi/WifiMacRandomizationTest.py
index 89aacdf..09630d7 100755
--- a/acts/tests/google/wifi/WifiMacRandomizationTest.py
+++ b/acts/tests/google/wifi/WifiMacRandomizationTest.py
@@ -417,7 +417,7 @@
         ap2 = self.reference_networks[1]["5g"]
         mac_ap1 = self.connect_to_network_and_verify_mac_randomization(ap1)
         mac_ap2 = self.connect_to_network_and_verify_mac_randomization(ap2)
-        if ap1 == ap2:
+        if mac_ap1 == mac_ap2:
             raise signals.TestFailure("Same MAC address was generated for both "
                                       "APs: %s" % mac_ap1)