From: John W. Linville Date: Tue, 6 Oct 2009 20:47:23 +0000 (-0400) Subject: orinoco: support ETHTOOL_GPERMADDR X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=cf32ed92432303022be208bb6a173994712f1f23;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git orinoco: support ETHTOOL_GPERMADDR Signed-off-by: John W. Linville --- diff --git a/drivers/net/wireless/orinoco/main.c b/drivers/net/wireless/orinoco/main.c index 7a32bcb0c037..5fdc59c594f2 100644 --- a/drivers/net/wireless/orinoco/main.c +++ b/drivers/net/wireless/orinoco/main.c @@ -2225,6 +2225,7 @@ int orinoco_if_add(struct orinoco_private *priv, netif_carrier_off(dev); memcpy(dev->dev_addr, wiphy->perm_addr, ETH_ALEN); + memcpy(dev->perm_addr, wiphy->perm_addr, ETH_ALEN); dev->base_addr = base_addr; dev->irq = irq;