From: andy2_kuo Date: Thu, 25 Oct 2012 10:38:21 +0000 (+0800) Subject: net: wireless: bcmdhd: Prevent HT Avail timeout to frozen device while asleep X-Git-Tag: firefly_0821_release~7613^2~13 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=bf3f226fdcc8fbc16f6dd7843fb78230320452ec;p=firefly-linux-kernel-4.4.55.git net: wireless: bcmdhd: Prevent HT Avail timeout to frozen device while asleep Change-Id: I6ccd035539a3a3074b7ff1e06854ce396d784fc4 --- 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; }