diff options
author | Lorenzo Bianconi | 2018-09-06 11:18:20 +0200 |
---|---|---|
committer | Felix Fietkau | 2018-09-19 12:29:30 +0200 |
commit | f847e45a2db8301825c92a91d89f5190a9d50f83 (patch) | |
tree | 4a06102c46fc3196c79e1dff02fd7992dc2e2360 /drivers/net/wireless/mediatek/mt76/mt76x02_util.h | |
parent | mt76: move mt76x2u_remove_dma_hdr in mt76x02-lib module (diff) | |
download | kernel-qcow2-linux-f847e45a2db8301825c92a91d89f5190a9d50f83.tar.gz kernel-qcow2-linux-f847e45a2db8301825c92a91d89f5190a9d50f83.tar.xz kernel-qcow2-linux-f847e45a2db8301825c92a91d89f5190a9d50f83.zip |
mt76: move mt76x2u_tx_complete_skb in mt76x02-lib moudule
Move mt76x2u_tx_complete_skb routine in mt76x02-lib module
and rename it in mt76x02_tx_complete_skb in order to be reused
in mt76x0 driver
Signed-off-by: Lorenzo Bianconi <lorenzo.bianconi@redhat.com>
Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'drivers/net/wireless/mediatek/mt76/mt76x02_util.h')
-rw-r--r-- | drivers/net/wireless/mediatek/mt76/mt76x02_util.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/wireless/mediatek/mt76/mt76x02_util.h b/drivers/net/wireless/mediatek/mt76/mt76x02_util.h index 6b6e963454c8..a7c20e6fb4ab 100644 --- a/drivers/net/wireless/mediatek/mt76/mt76x02_util.h +++ b/drivers/net/wireless/mediatek/mt76/mt76x02_util.h @@ -47,4 +47,6 @@ int mt76x02_insert_hdr_pad(struct sk_buff *skb); void mt76x02_remove_hdr_pad(struct sk_buff *skb, int len); void mt76x02_tx_complete(struct mt76_dev *dev, struct sk_buff *skb); void mt76x02_remove_dma_hdr(struct sk_buff *skb); +void mt76x02_tx_complete_skb(struct mt76_dev *mdev, struct mt76_queue *q, + struct mt76_queue_entry *e, bool flush); #endif |