Skip to content

Commit

Permalink
arlan: inverted logic?
Browse files Browse the repository at this point in the history
Inverted logic

Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
  • Loading branch information
Roel Kluin authored and John W. Linville committed Jul 24, 2009
1 parent f9b604f commit 9ab5607
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/net/wireless/arlan-main.c
Original file line number Diff line number Diff line change
Expand Up @@ -1022,7 +1022,7 @@ static int arlan_mac_addr(struct net_device *dev, void *p)
ARLAN_DEBUG_ENTRY("arlan_mac_addr");
return -EINVAL;

if (!netif_running(dev))
if (netif_running(dev))
return -EBUSY;
memcpy(dev->dev_addr, addr->sa_data, dev->addr_len);

Expand Down

0 comments on commit 9ab5607

Please sign in to comment.