Don't byte swap URE_TXPKT_VLAN_TAG when setting up the packet to transmit.
authorsthen <sthen@openbsd.org>
Sat, 2 Apr 2022 15:35:06 +0000 (15:35 +0000)
committersthen <sthen@openbsd.org>
Sat, 2 Apr 2022 15:35:06 +0000 (15:35 +0000)
commitfe07c29872c3a67d8f4ecff6dfae36dab4b4996f
treed81d76940ecf21956a412503baf54604e25e6f67
parent974883aaf315619f122ce52825b312832bf156c0
Don't byte swap URE_TXPKT_VLAN_TAG when setting up the packet to transmit.
Fixes vlan transmission with hw tagging (problem seen on RTL8153B but there's
no reason this wouldn't apply to others) and matches what the Linux driver
is doing.  looks correct kettenis@ ok kevlo@
sys/dev/usb/if_ure.c