3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-11-29 05:39:24 +01:00

auto-t: Fix TA/BSSID addresses of spoofed disassoc

The TA/BSSID addresses of spoofed disassociate frames were set
incorrectly.  They should be using the 02:00:00:XX:XX:XX address, but
instead were being converted over to 42:00:00:XX:XX:XX address
This commit is contained in:
Denis Kenzior 2022-05-11 14:05:51 -05:00
parent ee3a044b75
commit 2019823443

View File

@ -410,7 +410,7 @@ class Hwsim(iwd.AsyncOpAbstract):
''' '''
Send a spoofed disassociate frame to a station Send a spoofed disassociate frame to a station
''' '''
dest = self._convert_address(radio.addresses[0].replace(':', '')) dest = radio.addresses[0].replace(':', '')
frame = 'a0 00 3a 01' frame = 'a0 00 3a 01'
frame += station.replace(':', '') frame += station.replace(':', '')