Browse Source

tests: Fix wpas_ctrl_data_test with Linux 3.19-rc1

The kernel commit 'packet: make packet_snd fail on len smaller than l2
header' started rejecting <= 14 octet raw packet socket transmission.
This test case was testing with 14 ocets and that is now rejected by the
kernel. While this may be a kernel side issue, use one octet longer test
data for now to avoid undesired FAIL cases in hwsim tests.

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

+ 1 - 1
tests/hwsim/test_wpas_ctrl.py

@@ -1213,7 +1213,7 @@ def test_wpas_ctrl_data_test(dev, apdev):
         if "FAIL" not in dev[0].request("DATA_TEST_FRAME " + cmd):
             raise Exception("Invalid DATA_TEST_FRAME command accepted: " + cmd)
 
-    if "OK" not in dev[0].request("DATA_TEST_FRAME 00112233445566778899aabbccdd"):
+    if "OK" not in dev[0].request("DATA_TEST_FRAME 00112233445566778899aabbccddee"):
         raise Exception("DATA_TEST_FRAME failed")
 
 def test_wpas_ctrl_vendor_elem(dev, apdev):