19 lines
624 B
Diff
19 lines
624 B
Diff
|
Based on ../../.shared-patches/linux/samsung-usb-ethaddr.patch
|
||
|
|
||
|
diff --git a/drivers/usb/gadget/u_ether.c b/drivers/usb/gadget/u_ether.c
|
||
|
index 80294f32..d7268e50 100755
|
||
|
--- a/drivers/usb/gadget/u_ether.c
|
||
|
+++ b/drivers/usb/gadget/u_ether.c
|
||
|
@@ -1193,7 +1193,7 @@ struct eth_dev *gether_setup_name(struct usb_gadget *g, u8 ethaddr[ETH_ALEN],
|
||
|
if (get_ether_addr(dev_addr, net->dev_addr))
|
||
|
dev_warn(&g->dev,
|
||
|
"using random %s ethernet address\n", "self");
|
||
|
-#ifdef CONFIG_USB_ANDROID_SAMSUNG_COMPOSITE
|
||
|
+#if 0
|
||
|
memcpy(dev->host_mac, ethaddr, ETH_ALEN);
|
||
|
printk(KERN_DEBUG "usb: set unique host mac\n");
|
||
|
#else
|
||
|
--
|
||
|
2.32.0
|
||
|
|