projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a21090c
)
rndis_host: support ETHTOOL_GPERMADDR
author
John W. Linville
<linville@tuxdriver.com>
Tue, 6 Oct 2009 11:05:42 +0000
(11:05 +0000)
committer
David S. Miller
<davem@davemloft.net>
Wed, 7 Oct 2009 10:37:37 +0000
(
03:37
-0700)
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/usb/rndis_host.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/net/usb/rndis_host.c
b/drivers/net/usb/rndis_host.c
index d032bba9bc4cde252ef23518428f96eaa33df113..0caa8008c51c0483b69e0bfa553555aa7fe05864 100644
(file)
--- 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);