]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
tests: ap_pmf: Stop using use_monitor=1
authorJohannes Berg <johannes.berg@intel.com>
Mon, 3 Feb 2025 20:45:28 +0000 (21:45 +0100)
committerJouni Malinen <j@w1.fi>
Sat, 15 Feb 2025 09:26:28 +0000 (11:26 +0200)
There's no need for this anymore, all the tests work without it. This
was originally used to be able to inject unprotected Deauthentication
and Disassociation frames in cases where PMF was in use, but commit
9bedf90047d6 ("nl80211: Use monitor interface for sending no-encrypt
test frames") allowed this to be done without having to for AP
operations to use the monitor interface for EAPOL frames with
use_monitor=1.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
tests/hwsim/test_ap_pmf.py

index ccbecb8e3078d40eb40111cfa5c1c76d11cc3b08..06ddc3d9d7f8ec175e28b434b4f36efcd6cdda2f 100644 (file)
@@ -520,7 +520,7 @@ def run_ap_pmf_valid(dev, apdev, disassociate, broadcast):
 
 def start_wpas_ap(ssid):
     wpas = WpaSupplicant(global_iface='/tmp/wpas-wlan5')
-    wpas.interface_add("wlan5", drv_params="use_monitor=1")
+    wpas.interface_add("wlan5")
     id = wpas.add_network()
     wpas.set_network(id, "mode", "2")
     wpas.set_network_quoted(id, "ssid", ssid)