aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/arlan-main.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/wireless/arlan-main.c')
-rw-r--r--drivers/net/wireless/arlan-main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/arlan-main.c b/drivers/net/wireless/arlan-main.c
index d479f4735aaa..f96c634e2d35 100644
--- a/drivers/net/wireless/arlan-main.c
+++ b/drivers/net/wireless/arlan-main.c
@@ -1022,7 +1022,7 @@ static int arlan_mac_addr(struct net_device *dev, void *p)
1022 ARLAN_DEBUG_ENTRY("arlan_mac_addr"); 1022 ARLAN_DEBUG_ENTRY("arlan_mac_addr");
1023 return -EINVAL; 1023 return -EINVAL;
1024 1024
1025 if (!netif_running(dev)) 1025 if (netif_running(dev))
1026 return -EBUSY; 1026 return -EBUSY;
1027 memcpy(dev->dev_addr, addr->sa_data, dev->addr_len); 1027 memcpy(dev->dev_addr, addr->sa_data, dev->addr_len);
1028 1028