diff options
author | Thibaut VARÈNE <hacks@slashdirt.org> | 2022-04-20 17:57:47 +0200 |
---|---|---|
committer | Petr Štetiar <ynezz@true.cz> | 2022-08-28 08:33:46 +0200 |
commit | 4cb9d08e71a8d4d4f148f29fcbe8554f0815a056 (patch) | |
tree | c8e12259078e4dc2f29b04384d89addef49ddd3d /package/firmware/prism54-firmware | |
parent | 8b552b1d28b55401c865a926eeedf20af9318f4e (diff) | |
download | upstream-4cb9d08e71a8d4d4f148f29fcbe8554f0815a056.tar.gz upstream-4cb9d08e71a8d4d4f148f29fcbe8554f0815a056.tar.bz2 upstream-4cb9d08e71a8d4d4f148f29fcbe8554f0815a056.zip |
mt76: backport fix encap offload ethernet type check
The driver needs to check if the format is 802.2 vs 802.3 in order to
set a tx descriptor flag. skb->protocol can't be used, since it may not
be properly initialized for packets coming in from a packet socket. Fix
misdetection by checking the ethertype from the skb data instead.
Signed-off-by: Thibaut VARÈNE <hacks@slashdirt.org>
Signed-off-by: Petr Štetiar <ynezz@true.cz> [commit description]
Diffstat (limited to 'package/firmware/prism54-firmware')
0 files changed, 0 insertions, 0 deletions