diff options
| author | Tim Gardner <[email protected]> | 2012-02-02 13:48:06 -0700 |
|---|---|---|
| committer | John W. Linville <[email protected]> | 2012-02-06 14:55:52 -0500 |
| commit | 3d86b93064c7f18378a2008bab9608ca7d11bdbb (patch) | |
| tree | dad5a3e5e53a7b87397472599d00d0fc0dae6137 /drivers/net/wireless/iwlegacy/debug.c | |
| parent | 885bd8eca6ac172e299750d99bd5c9fddbed89b9 (diff) | |
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 <[email protected]>
Cc: Chaoming Li <[email protected]>
Cc: John W. Linville <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Signed-off-by: Tim Gardner <[email protected]>
Acked-by: Larry Finger <[email protected]>
Signed-off-by: John W. Linville <[email protected]>
Diffstat (limited to 'drivers/net/wireless/iwlegacy/debug.c')
0 files changed, 0 insertions, 0 deletions