]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFC r345754:
authoravos <avos@FreeBSD.org>
Sun, 7 Apr 2019 13:26:45 +0000 (13:26 +0000)
committeravos <avos@FreeBSD.org>
Sun, 7 Apr 2019 13:26:45 +0000 (13:26 +0000)
commitc1c98ec0d4721730ceabde4ec72838abf47ad79f
tree1fbf461a85ea336e87ac1e2f1243d81e4133f6af
parent7a655ef537d4c1279371f5d97b56917aa85799d4
MFC r345754:
run(4): properly set F_DATAPAD radiotap flag if frame has padding between
frame header and data.

This will fix 'Mysterious OLPC stuff' for received frames and wrong
CCMP / TKIP / data decoding for transmitted frames in net/wireshark
dissector.

While here, drop unneeded comment - net80211 handles padding requirements
for Tx & Rx without driver adjustment.

Was tested with D-Link DWA-140 rev B3, STA mode.
sys/dev/usb/wlan/if_run.c