summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/mwifiex/usb.c
diff options
context:
space:
mode:
authorAmitkumar Karwar2013-11-15 04:10:41 +0100
committerJohn W. Linville2013-11-15 20:29:32 +0100
commit3c59e328eb4ff23781bfa4cfc9f6f496003bf8b9 (patch)
tree11c69a91582c9eed44c5cb583bf65ab8dc052e57 /drivers/net/wireless/mwifiex/usb.c
parentmwifiex: fix potential mem leak in .del_virtual_intf (diff)
downloadkernel-qcow2-linux-3c59e328eb4ff23781bfa4cfc9f6f496003bf8b9.tar.gz
kernel-qcow2-linux-3c59e328eb4ff23781bfa4cfc9f6f496003bf8b9.tar.xz
kernel-qcow2-linux-3c59e328eb4ff23781bfa4cfc9f6f496003bf8b9.zip
mwifiex: fix memory leak issue for sdio and pcie cards
When driver is failed to load, card pointer doesn't get freed. We will free it in cleanup handler which is called in failure as well as unload path. Also, update drvdata in init/cleanup handlers instead of register/unregister handlers. 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/mwifiex/usb.c')
0 files changed, 0 insertions, 0 deletions