blob: 086328c1af0d1b870d8eb6e2e27e80e0257fda52 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
--- a/drivers/net/wireless/mediatek/mt76/usb.c
+++ b/drivers/net/wireless/mediatek/mt76/usb.c
@@ -535,7 +535,7 @@ int mt76u_skb_dma_info(struct sk_buff *s
}
if (unlikely(pad)) {
- if (__skb_pad(last, pad, true))
+ if (skb_pad(last, pad))
return -ENOMEM;
__skb_put(last, pad);
}
|