]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
tests: More detailed error logging for RSN overriding with MLD
authorJouni Malinen <quic_jouni@quicinc.com>
Tue, 30 Jul 2024 08:46:45 +0000 (11:46 +0300)
committerJouni Malinen <j@w1.fi>
Tue, 30 Jul 2024 15:52:15 +0000 (18:52 +0300)
Signed-off-by: Jouni Malinen <quic_jouni@quicinc.com>
tests/hwsim/test_rsn_override.py

index 0ff0b1951b9560d22417a16c97c3313caa90f5ab..6733102e7ba4f1dc5a9b57a3b3e969d9b1ec8baf 100644 (file)
@@ -185,12 +185,15 @@ def run_rsn_override_mld(dev, apdev, mixed):
                        scan_freq="2412 2437")
 
         status = wpas.get_status()
+        logger.debug("wpas STATUS:\n" + str(status))
         if status['key_mgmt'] != 'SAE-EXT-KEY' or \
+           'pmf' not in status or \
            status['pmf'] != '2' or \
            status['pairwise_cipher'] != 'GCMP-256':
             raise Exception("Unexpected result for new STA")
 
         status = dev[0].get_status()
+        logger.debug("dev[0] STATUS:\n" + str(status))
         if status['key_mgmt'] != 'WPA2-PSK' or \
            status['pairwise_cipher'] != 'CCMP':
             raise Exception("Unexpected result for legacy STA")