net: wireless: bcmdhd: Fix FW hang recovery
authorDmitry Shmidt <dimitrysh@google.com>
Mon, 2 Apr 2012 17:23:59 +0000 (10:23 -0700)
committerDmitry Shmidt <dimitrysh@google.com>
Mon, 2 Apr 2012 23:01:40 +0000 (16:01 -0700)
commitb071e4399f87c9f3370ddc376181fda876339bee
treeff12be7df5b61d1c923d8f595ffceaec4929c406
parent7d6c28c7cf3420d40d16285459bbcdce268bc367
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