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 rtlwifi: Update copyright dates 2012-01-24 14:08:37 -05:00
cam.c rtlwifi: Move pr_fmt macros to a single location 2012-01-30 15:48:23 -05:00
cam.h rtlwifi: Update copyright dates 2012-01-24 14:08:37 -05:00
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 rtlwifi: Move pr_fmt macros to a single location 2012-01-30 15:48:23 -05:00
debug.h rtlwifi: Update copyright dates 2012-01-24 14:08:37 -05:00
efuse.c rtlwifi: Update copyright dates 2012-01-24 14:08:37 -05:00
efuse.h rtlwifi: Update copyright dates 2012-01-24 14:08:37 -05:00
Kconfig rtlwifi: add CONFIG_RTLWIFI_DEBUG to remove all of the debug logging code 2012-01-24 14:07:41 -05:00
Makefile rtlwifi: rtl8192de: Modify Kconfig and Makefile routines for new driver 2011-06-27 15:09:38 -04:00
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 rtlwifi: Update copyright dates 2012-01-24 14:08:37 -05:00
rc.c rtlwifi: Update copyright dates 2012-01-24 14:08:37 -05:00
rc.h rtlwifi: Update copyright dates 2012-01-24 14:08:37 -05:00
regd.c rtlwifi: Update copyright dates 2012-01-24 14:08:37 -05:00
regd.h rtlwifi: Update copyright dates 2012-01-24 14:08:37 -05:00
usb.c rtlwifi: Convert to asynchronous firmware load 2012-01-30 15:48:50 -05:00
usb.h rtlwifi: Move pr_fmt macros to a single location 2012-01-30 15:48:23 -05:00
wifi.h rtlwifi: Convert to asynchronous firmware load 2012-01-30 15:48:50 -05:00