From: John W. Linville Date: Tue, 6 Oct 2009 11:05:42 +0000 (+0000) Subject: rndis_host: support ETHTOOL_GPERMADDR X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=083925d5432d910025e84d445d1243dd260d4afb;p=GitHub%2FLineageOS%2Fandroid_kernel_samsung_universal7580.git rndis_host: support ETHTOOL_GPERMADDR Signed-off-by: John W. Linville Signed-off-by: David S. Miller --- diff --git a/drivers/net/usb/rndis_host.c b/drivers/net/usb/rndis_host.c index d032bba9bc4..0caa8008c51 100644 --- a/drivers/net/usb/rndis_host.c +++ b/drivers/net/usb/rndis_host.c @@ -418,6 +418,7 @@ generic_rndis_bind(struct usbnet *dev, struct usb_interface *intf, int flags) goto halt_fail_and_release; } memcpy(net->dev_addr, bp, ETH_ALEN); + memcpy(net->perm_addr, bp, ETH_ALEN); /* set a nonzero filter to enable data transfers */ memset(u.set, 0, sizeof *u.set);