projects
/
kernel
/
kernel-mfld-blackbay.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
307d97b
)
net: wireless: bcm4329: Skip dhd_bus_stop() if bus is already down
author
Dmitry Shmidt
<dimitrysh@google.com>
Fri, 4 Nov 2011 18:10:04 +0000
(11:10 -0700)
committer
mgross
<mark.gross@intel.com>
Wed, 9 Nov 2011 20:25:38 +0000
(12:25 -0800)
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
drivers/net/wireless/bcm4329/dhd_linux.c
patch
|
blob
|
history
diff --git
a/drivers/net/wireless/bcm4329/dhd_linux.c
b/drivers/net/wireless/bcm4329/dhd_linux.c
index
3ec1f3f
..
5f5b418
100644
(file)
--- a/
drivers/net/wireless/bcm4329/dhd_linux.c
+++ b/
drivers/net/wireless/bcm4329/dhd_linux.c
@@
-1519,7
+1519,8
@@
dhd_dpc_thread(void *data)
dhd_os_wake_unlock(&dhd->pub);
}
} else {
- dhd_bus_stop(dhd->pub.bus, TRUE);
+ if (dhd->pub.up)
+ dhd_bus_stop(dhd->pub.bus, TRUE);
dhd_os_wake_unlock(&dhd->pub);
}
}