rndis_host: support ETHTOOL_GPERMADDR
Signed-off-by: John W. Linville <linville@tuxdriver.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
a21090cff2
commit
083925d543
|
@ -418,6 +418,7 @@ generic_rndis_bind(struct usbnet *dev, struct usb_interface *intf, int flags)
|
||||||
goto halt_fail_and_release;
|
goto halt_fail_and_release;
|
||||||
}
|
}
|
||||||
memcpy(net->dev_addr, bp, ETH_ALEN);
|
memcpy(net->dev_addr, bp, ETH_ALEN);
|
||||||
|
memcpy(net->perm_addr, bp, ETH_ALEN);
|
||||||
|
|
||||||
/* set a nonzero filter to enable data transfers */
|
/* set a nonzero filter to enable data transfers */
|
||||||
memset(u.set, 0, sizeof *u.set);
|
memset(u.set, 0, sizeof *u.set);
|
||||||
|
|
Loading…
Reference in New Issue