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.
This commit is contained in:
James Prestwood 2018-01-31 09:55:57 -08:00 committed by Denis Kenzior
parent 13429f8f2d
commit 62bdf6c482
1 changed files with 1 additions and 1 deletions

View File

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