mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-11-22 14:49:24 +01:00
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:
parent
13429f8f2d
commit
62bdf6c482
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user