summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/bcmdhd/dhd_linux.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/wireless/bcmdhd/dhd_linux.c')
-rw-r--r--drivers/net/wireless/bcmdhd/dhd_linux.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/bcmdhd/dhd_linux.c b/drivers/net/wireless/bcmdhd/dhd_linux.c
index 44879e4a1170..a6b6dc8be91f 100644
--- a/drivers/net/wireless/bcmdhd/dhd_linux.c
+++ b/drivers/net/wireless/bcmdhd/dhd_linux.c
@@ -3676,6 +3676,7 @@ void dhd_detach(dhd_pub_t *dhdp)
#endif /* defined(CONFIG_HAS_EARLYSUSPEND) */
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 27))
+ dhd->pub.hang_was_sent = 1;
cancel_work_sync(&dhd->work_hang);
#endif /* (LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 27)) */