rndis_host: support ETHTOOL_GPERMADDR
authorJohn W. Linville <linville@tuxdriver.com>
Tue, 6 Oct 2009 11:05:42 +0000 (11:05 +0000)
committerDavid 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

index d032bba9bc4cde252ef23518428f96eaa33df113..0caa8008c51c0483b69e0bfa553555aa7fe05864 100644 (file)
@@ -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);