linux/drivers/net/wireless/rtlwifi
Tim Gardner 3d86b93064 rtlwifi: Fix PCI probe error path orphaned memory
Memory allocated by ieee80211_alloc_hw() will get orphaned
if any subsequent initializations fail.

Also don't pci_set_drvdata(pdev, NULL) until just before disabling
the PCI device. Functions called by rtl_deinit_core(hw) may eventually need
the context (when its actually implemented).

Cc: Larry Finger <Larry.Finger@lwfinger.net>
Cc: Chaoming Li <chaoming_li@realsil.com.cn>
Cc: John W. Linville <linville@tuxdriver.com>
Cc: linux-wireless@vger.kernel.org
Cc: netdev@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
Acked-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2012-02-06 14:55:52 -05:00
..
rtl8192c rtlwifi: Convert to asynchronous firmware load 2012-01-30 15:48:50 -05:00
rtl8192ce rtlwifi: Convert to asynchronous firmware load 2012-01-30 15:48:50 -05:00
rtl8192cu rtlwifi: Convert to asynchronous firmware load 2012-01-30 15:48:50 -05:00
rtl8192de rtlwifi: Fix typo in dm.c 2012-02-06 14:53:08 -05:00
rtl8192se rtlwifi: Convert to asynchronous firmware load 2012-01-30 15:48:50 -05:00
base.c rtlwifi: Convert to asynchronous firmware load 2012-01-30 15:48:50 -05:00
base.h
cam.c
cam.h
core.c rtlwifi: Remove extra debugging message accidentally left in 2012-02-06 14:53:09 -05:00
core.h rtlwifi: Convert to asynchronous firmware load 2012-01-30 15:48:50 -05:00
debug.c
debug.h
efuse.c
efuse.h
Kconfig
Makefile
pci.c rtlwifi: Fix PCI probe error path orphaned memory 2012-02-06 14:55:52 -05:00
pci.h rtlwifi: Convert to asynchronous firmware load 2012-01-30 15:48:50 -05:00
ps.c rtlwifi: Convert to asynchronous firmware load 2012-01-30 15:48:50 -05:00
ps.h
rc.c
rc.h
regd.c
regd.h
usb.c rtlwifi: Convert to asynchronous firmware load 2012-01-30 15:48:50 -05:00
usb.h
wifi.h rtlwifi: Convert to asynchronous firmware load 2012-01-30 15:48:50 -05:00