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>
This commit is contained in:
Jouni Malinen 2014-12-23 12:27:14 +02:00
parent b2eb3fe21c
commit 9828b70ebd

View file

@ -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):