diff options
author | Ryder Lee <ryder.lee@mediatek.com> | 2020-12-29 12:15:30 +0800 |
---|---|---|
committer | Felix Fietkau <nbd@nbd.name> | 2021-01-26 20:07:47 +0100 |
commit | b747fa343817fd322b4463dda99d28fc51e19c52 (patch) | |
tree | e5ff121063a7f163e0468e758bdae6adbeaa18a6 /drivers/net/wireless/mediatek/mt76/mt76.h | |
parent | b8135057988e57f498e85eeaf133cacac2de3a10 (diff) |
mt76: mt7915: drop zero-length packet to avoid Tx hang
Hardware wouldn't add LLC-SNAP when skb->data_len is 0, which causes
Tx hang, so add a check to drop this kind of packet.
Tested-by: Bo Jiao <bo.jiao@mediatek.com>
Signed-off-by: Ryder Lee <ryder.lee@mediatek.com>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'drivers/net/wireless/mediatek/mt76/mt76.h')
0 files changed, 0 insertions, 0 deletions