diff options
author | Roel Kluin <roel.kluin@gmail.com> | 2009-07-13 00:10:07 +0200 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-07-24 21:05:27 +0200 |
commit | 9ab56078e638efb75ac4ccd27c7196cdfed2e6c8 (patch) | |
tree | 6c0cac12f0b60c1a0f04d84e79f5870ecc198f8a | |
parent | ath9k: make use ath9k_hw_wait int ath9k_hw_reset_tsf (diff) | |
download | linux-9ab56078e638efb75ac4ccd27c7196cdfed2e6c8.tar.xz linux-9ab56078e638efb75ac4ccd27c7196cdfed2e6c8.zip |
arlan: inverted logic?
Inverted logic
Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
-rw-r--r-- | drivers/net/wireless/arlan-main.c | 2 |
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) 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); |