Browse Source

tests: wpa_supplicant ctrl_iface BSSID command error case

Signed-off-by: Jouni Malinen <j@w1.fi>
Jouni Malinen 10 years ago
parent
commit
feb795d6d3
1 changed files with 2 additions and 0 deletions
  1. 2 0
      tests/hwsim/test_wpas_ctrl.py

+ 2 - 0
tests/hwsim/test_wpas_ctrl.py

@@ -198,6 +198,8 @@ def test_wpas_ctrl_network(dev):
         raise Exception("Unexpected BSSID success")
     if "FAIL" not in dev[0].request('BSSID ' + str(id) + ' 00:11:22:33:44'):
         raise Exception("Unexpected BSSID success")
+    if "FAIL" not in dev[0].request('BSSID ' + str(id)):
+        raise Exception("Unexpected BSSID success")
 
 def test_wpas_ctrl_many_networks(dev, apdev):
     """wpa_supplicant ctrl_iface LIST_NETWORKS with huge number of networks"""