summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/rtlwifi
diff options
context:
space:
mode:
authorUjjal Roy <royujjal@gmail.com>2013-11-14 19:10:42 -0800
committerJohn W. Linville <linville@tuxdriver.com>2013-11-15 14:29:32 -0500
commit353d2a69ea2607acd80c6bea7da2ab9bb65d2622 (patch)
treed1628b0f620d60ea8afbd531ca2373a20b5a7732 /drivers/net/wireless/rtlwifi
parent3c59e328eb4ff23781bfa4cfc9f6f496003bf8b9 (diff)
downloadblackbird-op-linux-353d2a69ea2607acd80c6bea7da2ab9bb65d2622.tar.gz
blackbird-op-linux-353d2a69ea2607acd80c6bea7da2ab9bb65d2622.zip
mwifiex: fix issues in driver unload path for USB chipsets
1) After driver load failure, clear 'card->adapter' instead of card pointer so that card specific cleanup is performed later when user unloads the driver. 2) Clear usb_card pointer in disconnect handler to avoid invalid memory access when user unloads the driver after removing the card. Signed-off-by: Ujjal Roy <royujjal@gmail.com> 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 'drivers/net/wireless/rtlwifi')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud