mirror of
https://github.com/outbackdingo/mt76.git
synced 2026-10-24 13:26:48 +00:00
mt76: sync with upstream changes
Signed-off-by: Felix Fietkau <[email protected]>
This commit is contained in:
@@ -286,8 +286,7 @@ static bool mt76u_check_sg(struct mt76_dev *dev)
|
||||
struct usb_device *udev = interface_to_usbdev(uintf);
|
||||
|
||||
return (!disable_usb_sg && udev->bus->sg_tablesize > 0 &&
|
||||
(udev->bus->no_sg_constraint ||
|
||||
udev->speed == USB_SPEED_WIRELESS));
|
||||
udev->bus->no_sg_constraint);
|
||||
}
|
||||
|
||||
static int
|
||||
@@ -1136,4 +1135,5 @@ int mt76u_init(struct mt76_dev *dev, struct usb_interface *intf)
|
||||
EXPORT_SYMBOL_GPL(mt76u_init);
|
||||
|
||||
MODULE_AUTHOR("Lorenzo Bianconi <[email protected]>");
|
||||
MODULE_DESCRIPTION("MediaTek MT76x USB helpers");
|
||||
MODULE_LICENSE("Dual BSD/GPL");
|
||||
|
||||
Reference in New Issue
Block a user