mwifiex: use USB core's soft_unbind option
authorAmitkumar Karwar <akarwar@marvell.com>
Mon, 14 Apr 2014 22:32:54 +0000 (15:32 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 22 Apr 2014 19:06:30 +0000 (15:06 -0400)
commit3fffd7c17cca31b8538a313e02f9f4a6e63d360a
tree6937bf22b22feca090de5145d1b69470c407f330
parent5af3fae3356c21faa97de496863a197660a6e1b0
mwifiex: use USB core's soft_unbind option

This option allows driver to finish pending operations in
disconnect handler by not killing URBs after usb_deregister
call.

We will get rid of global pointer 'usb_card' by moving code
from cleanup_module() to disconnect(). This will help to match
with our handling for SDIO and PCIe interfaces.

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