summaryrefslogtreecommitdiff
path: root/fs/mbcache.c
diff options
context:
space:
mode:
authorAmitkumar Karwar <akarwar@marvell.com>2013-08-23 16:48:21 -0700
committerJohn W. Linville <linville@tuxdriver.com>2013-08-26 14:09:04 -0400
commit027d3307f44c6ddccb2194474a18ff71cbff0ad9 (patch)
tree27097b80126e41032cd4fa530afc03d51ecdd497 /fs/mbcache.c
parent50023008f63c162bdb4b688c65d826bad627120e (diff)
mwifiex: fix driver unload problem for usb chipsets
We have usb_deregister() call in our rmmod routine. deauth, shutdown etc. commands will be sent to FW later when bus driver calls disconnect handler. This mechanism works fine with SDIO and PCIe interfaces, but there is an issue with USB. USB bus driver returns all URBs submitted for receiving data and command response immediately after usb_deregister() with failure status. Hence we don't send deauth, shutdown etc. command to firmware. The problem is fixed by moving code from disconnect handler to rmmod routine for USB interface. 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>
Diffstat (limited to 'fs/mbcache.c')
0 files changed, 0 insertions, 0 deletions