projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f9b604f
)
arlan: inverted logic?
author
Roel Kluin
<roel.kluin@gmail.com>
Sun, 12 Jul 2009 22:10:07 +0000
(
00:10
+0200)
committer
John W. Linville
<linville@tuxdriver.com>
Fri, 24 Jul 2009 19:05:27 +0000
(15:05 -0400)
Inverted logic
Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/arlan-main.c
patch
|
blob
|
history
diff --git
a/drivers/net/wireless/arlan-main.c
b/drivers/net/wireless/arlan-main.c
index d479f4735aaa533fa1a74778825de5767a7ae073..f96c634e2d35f2e6ee678081d6ab80018980bfcc 100644
(file)
--- 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);