]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit94e09a1720c84799ee0ef0d473a0a29183f35565
tree6937bf22b22feca090de5145d1b69470c407f330
parentbe7a77ce7cf720b1d2a60578c473418beab9169b
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