orinoco: support ETHTOOL_GPERMADDR
Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:
parent
5e5eab5dd4
commit
cf32ed9243
1 changed files with 1 additions and 0 deletions
|
@ -2225,6 +2225,7 @@ int orinoco_if_add(struct orinoco_private *priv,
|
||||||
netif_carrier_off(dev);
|
netif_carrier_off(dev);
|
||||||
|
|
||||||
memcpy(dev->dev_addr, wiphy->perm_addr, ETH_ALEN);
|
memcpy(dev->dev_addr, wiphy->perm_addr, ETH_ALEN);
|
||||||
|
memcpy(dev->perm_addr, wiphy->perm_addr, ETH_ALEN);
|
||||||
|
|
||||||
dev->base_addr = base_addr;
|
dev->base_addr = base_addr;
|
||||||
dev->irq = irq;
|
dev->irq = irq;
|
||||||
|
|
Loading…
Reference in a new issue