projects
/
platform
/
kernel
/
linux-3.10.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ba2d00e
)
libertas: handle mesh networks in lbs_iface_active()
author
Dan Carpenter
<error27@gmail.com>
Mon, 15 Aug 2011 11:25:35 +0000
(14:25 +0300)
committer
John W. Linville
<linville@tuxdriver.com>
Wed, 24 Aug 2011 18:41:42 +0000
(14:41 -0400)
There was an extra semicolon so the if condition wasn't used. We
checked "priv->dev" twice instead of "priv->mesh_dev".
Signed-off-by: Dan Carpenter <error27@gmail.com>
Acked-by: Dan Williams <dcbw@redhat.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/libertas/dev.h
patch
|
blob
|
history
diff --git
a/drivers/net/wireless/libertas/dev.h
b/drivers/net/wireless/libertas/dev.h
index
8148389
..
b9ff0dc
100644
(file)
--- a/
drivers/net/wireless/libertas/dev.h
+++ b/
drivers/net/wireless/libertas/dev.h
@@
-190,8
+190,8
@@
static inline int lbs_iface_active(struct lbs_private *priv)
int r;
r = netif_running(priv->dev);
- if (priv->mesh_dev)
;
- r |= netif_running(priv->dev);
+ if (priv->mesh_dev)
+ r |= netif_running(priv->
mesh_
dev);
return r;
}