From 9828b70ebd7f977fbb58fae62b773c65839e9631 Mon Sep 17 00:00:00 2001 From: Jouni Malinen Date: Tue, 23 Dec 2014 12:27:14 +0200 Subject: [PATCH] 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 --- tests/hwsim/test_wpas_ctrl.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/hwsim/test_wpas_ctrl.py b/tests/hwsim/test_wpas_ctrl.py index abc1873b7..63307582f 100644 --- a/tests/hwsim/test_wpas_ctrl.py +++ b/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):