mwifiex: disable auto deep sleep before unloading the driver
authorAmitkumar Karwar <akarwar@marvell.com>
Thu, 14 Jul 2011 03:51:59 +0000 (20:51 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 21 Jul 2011 18:52:04 +0000 (14:52 -0400)
commita0490936007bacf5bf6f4fb27788550c89c2c70d
tree1d24768db0a6e98336bf0b344d5a3a28b87d0b33
parentdf3b124bdb6fe2459625443bd3dc0dbd020932da
mwifiex: disable auto deep sleep before unloading the driver

Since the auto deep sleep mode has been enabled at driver init time
we should disable it at driver unloading to shutdown the function
gracefully.

Signed-off-by: Amitkumar Karwar <akarwar@marvell.com>
Signed-off-by: Bing Zhao <bzhao@marvell.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/mwifiex/ioctl.h
drivers/net/wireless/mwifiex/main.h
drivers/net/wireless/mwifiex/sdio.c
drivers/net/wireless/mwifiex/sta_ioctl.c