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:
5d94d7a
)
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
Dmitry Shmidt
<dimitrysh@google.com>
Fri, 4 Nov 2011 18:13:49 +0000
(11:13 -0700)
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 3ec1f3f108d41d7f7794a80e89b35d1e060cb719..5f5b418abc260336c83f394aad90179d05e2d021 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);
}
}