net: wireless: bcmdhd: Fix FW hang recovery
authorDmitry Shmidt <dimitrysh@google.com>
Mon, 2 Apr 2012 17:23:59 +0000 (10:23 -0700)
committerOm Prakash Singh <omp@nvidia.com>
Fri, 15 Jun 2012 08:45:16 +0000 (13:45 +0530)
commit76cc5ed02844a7ba70190e0d257ed6bb5637e1fc
tree77a0a5a78b2cc17f06931edd65c290afeaf8f65d
parentfd034e3fa30b0dbe6b4904097d10627a8b7c7f91
net: wireless: bcmdhd: Fix FW hang recovery

- Reduce IOCTL responce timeout to 2 sec (from 20)
- Fix pending status in case of timeout
- Pass error code from dhd_is_associated() call
- Call cfg80211_disconnected() if no timeout detected

Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
drivers/net/wireless/bcmdhd/dhd.h
drivers/net/wireless/bcmdhd/dhd_common.c
drivers/net/wireless/bcmdhd/dhd_dbg.h
drivers/net/wireless/bcmdhd/dhd_proto.h
drivers/net/wireless/bcmdhd/dhd_sdio.c
drivers/net/wireless/bcmdhd/wl_cfg80211.c