Skip to content
Commit 606f8e34 authored by Hauke Mehrtens's avatar Hauke Mehrtens Committed by Felix Fietkau
Browse files

mt76: use skb_pad() instead of __skb_pad()



mt76 uses __skb_pad() with free_on_error set to true, this is the same
as calling skb_pad().
This patch does not change any functionality, but it makes it easier to
backport this driver in backports, because skb_pad() is also available
in older kernel versions.

Fixes: b40b15e1 ("mt76: add usb support to mt76 layer")
Signed-off-by: default avatarHauke Mehrtens <hauke@hauke-m.de>
Signed-off-by: default avatarFelix Fietkau <nbd@nbd.name>
parent 481bb043
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment