mwifiex: disconnect the device before entering suspend state
authorAmitkumar Karwar <akarwar@marvell.com>
Fri, 21 Sep 2012 03:23:17 +0000 (20:23 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 24 Sep 2012 19:02:07 +0000 (15:02 -0400)
commit22c22d2710ab828ea36487abd1d7f94f79a86a68
treeb5a25542823e6c6b3a31ca11dace24114cc212b5
parentee928381ec9ec089c4ac35e7aeaaeb5bc4ccd938
mwifiex: disconnect the device before entering suspend state

By default, device is disconnected before entering suspend state.
User can keep the connection alive by using module parameter
"disconect_on_suspend=0".

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/sta_ioctl.c