]> 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)
commit040ea491c418ca0895fa022beba56eaccacfb429
tree6937bf22b22feca090de5145d1b69470c407f330
parent6334eae288656a09080420bb5c45b732cbae2c01
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