From 62bdf6c48290b199e45612d3f9a1e9bca4e7ae3a Mon Sep 17 00:00:00 2001 From: James Prestwood Date: Wed, 31 Jan 2018 09:55:57 -0800 Subject: [PATCH] auto-t: hwsim fixup Changed disassociate reason to 0x07 when spoofing a disassociate frame. This along with 0x06 are the only two reason codes that should be accepted in an unprotected disassociate frame. --- autotests/util/hwsim.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autotests/util/hwsim.py b/autotests/util/hwsim.py index 59007f20..724d79e8 100755 --- a/autotests/util/hwsim.py +++ b/autotests/util/hwsim.py @@ -276,7 +276,7 @@ class Hwsim(iwd.AsyncOpAbstract): frame += station.replace(':', '') frame += radio.addresses[0].replace(':', '') frame += radio.addresses[0].replace(':', '') - frame += '30 01 02 00' + frame += '30 01 07 00' self.spoof_frame(radio, freq, station, frame) def spoof_frame(self, radio, freq, station, frame):