pmaports/device/testing/linux-samsung-golden/03_fix_rndis.patch
Oliver Smith 64035ac463
device/*: move to device/testing/* (!1063)
Prepare for better device categorization by moving everything to testing
subdir first.

[skip-ci]: chicken-egg problem: passing pmaports CI depends on pmbootstrap MR
				depends on this MR

Related: postmarketos#16
2020-03-14 08:35:32 +01:00

12 lines
552 B
Diff

diff -r -u -N android_kernel_samsung_golden-2662dc4f65ef3ad5eeb4222d3aad5dd418a04510/drivers/usb/gadget/ether.c tmp-kernel/drivers/usb/gadget/ether.c
--- ./drivers/usb/gadget/ether.c 2018-04-19 15:50:23.962332146 +0100
+++ ./drivers/usb/gadget/ether.c 2018-04-19 15:45:50.823455075 +0100
@@ -246,7 +246,7 @@
c->bmAttributes |= USB_CONFIG_ATT_WAKEUP;
}
- return rndis_bind_config(c, hostaddr);
+ return rndis_bind_config(c, hostaddr, device_desc.idVendor, device_desc.iManufacturer);
}
static struct usb_configuration rndis_config_driver = {