From bf3f226fdcc8fbc16f6dd7843fb78230320452ec Mon Sep 17 00:00:00 2001 From: andy2_kuo Date: Thu, 25 Oct 2012 18:38:21 +0800 Subject: [PATCH] net: wireless: bcmdhd: Prevent HT Avail timeout to frozen device while asleep Change-Id: I6ccd035539a3a3074b7ff1e06854ce396d784fc4 --- drivers/net/wireless/bcmdhd/dhd_sdio.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/wireless/bcmdhd/dhd_sdio.c b/drivers/net/wireless/bcmdhd/dhd_sdio.c index 09dc45a0e9e8..9ad997098b73 100644 --- a/drivers/net/wireless/bcmdhd/dhd_sdio.c +++ b/drivers/net/wireless/bcmdhd/dhd_sdio.c @@ -620,6 +620,7 @@ dhdsdio_htclk(dhd_bus_t *bus, bool on, bool pendok) if (!SBSDIO_CLKAV(clkctl, bus->alp_only)) { DHD_ERROR(("%s: HT Avail timeout (%d): clkctl 0x%02x\n", __FUNCTION__, PMU_MAX_TRANSITION_DLY, clkctl)); + dhd_os_send_hang_message(bus->dhd); return BCME_ERROR; } -- 2.34.1