net: wireless: bcmdhd: Prevent HT Avail timeout to frozen device while asleep
authorandy2_kuo <andy2_kuo@asus.com>
Thu, 25 Oct 2012 10:38:21 +0000 (18:38 +0800)
committerDmitry Shmidt <dimitrysh@google.com>
Tue, 27 Nov 2012 23:25:04 +0000 (15:25 -0800)
Change-Id: I6ccd035539a3a3074b7ff1e06854ce396d784fc4

drivers/net/wireless/bcmdhd/dhd_sdio.c

index 09dc45a0e9e873693ac029a709fc047916eaff03..9ad997098b731de173a94fbf3225ae5666a412ab 100644 (file)
@@ -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;
                }