mirror of
https://github.com/outbackdingo/mt76.git
synced 2026-10-24 13:26:48 +00:00
mt76: use TX_NEEDS_ALIGNED4_SKBS
Remove custom header padding insert code Signed-off-by: Felix Fietkau <[email protected]>
This commit is contained in:
@@ -82,8 +82,6 @@ int mt76x02u_tx_prepare_skb(struct mt76_dev *mdev, void *data,
|
||||
enum mt76_qsel qsel;
|
||||
u32 flags;
|
||||
|
||||
mt76_insert_hdr_pad(skb);
|
||||
|
||||
txwi = (struct mt76x02_txwi *)(skb->data - sizeof(struct mt76x02_txwi));
|
||||
mt76x02_mac_write_txwi(dev, txwi, skb, wcid, sta, len);
|
||||
skb_push(skb, sizeof(struct mt76x02_txwi));
|
||||
|
||||
Reference in New Issue
Block a user