summaryrefslogtreecommitdiffstats
path: root/drivers/net/usb/rndis_host.c
diff options
context:
space:
mode:
authorJohn W. Linville <linville@tuxdriver.com>2009-10-06 13:05:42 +0200
committerDavid S. Miller <davem@davemloft.net>2009-10-07 12:37:37 +0200
commit083925d5432d910025e84d445d1243dd260d4afb (patch)
treee2c036df89552365c8ff3ee2818ba84b55f7e3c4 /drivers/net/usb/rndis_host.c
parentipv4: arp_notify address list bug (diff)
downloadlinux-083925d5432d910025e84d445d1243dd260d4afb.tar.xz
linux-083925d5432d910025e84d445d1243dd260d4afb.zip
rndis_host: support ETHTOOL_GPERMADDR
Signed-off-by: John W. Linville <linville@tuxdriver.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/usb/rndis_host.c')
-rw-r--r--drivers/net/usb/rndis_host.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/usb/rndis_host.c b/drivers/net/usb/rndis_host.c
index d032bba9bc4c..0caa8008c51c 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);