summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/orinoco
diff options
context:
space:
mode:
authorJohn W. Linville <linville@tuxdriver.com>2009-10-06 22:47:23 +0200
committerJohn W. Linville <linville@tuxdriver.com>2009-10-07 22:39:49 +0200
commitcf32ed92432303022be208bb6a173994712f1f23 (patch)
treefc12b4879e21fe85b941c5a922231489697ae283 /drivers/net/wireless/orinoco
parentipw2200: support ETHTOOL_GPERMADDR (diff)
downloadlinux-cf32ed92432303022be208bb6a173994712f1f23.tar.xz
linux-cf32ed92432303022be208bb6a173994712f1f23.zip
orinoco: support ETHTOOL_GPERMADDR
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/orinoco')
-rw-r--r--drivers/net/wireless/orinoco/main.c1
1 files changed, 1 insertions, 0 deletions
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;