original_kernel/drivers/net/wireless/iwlwifi
Johannes Berg 75813bde1f iwlwifi: fix memory leak if opmode fails to init
If drv->op_mode is NULL after trying to init the
opmode, we go to the wrong label. Fix this, and
clean up the code a bit.

Reviewed-by: Gregory Greenman <gregory.greenman@intel.com>
Reviewed-by: Guy Cohen <guy.cohen@intel.com>
Reviewed-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2012-05-25 11:12:41 -04:00
..
Kconfig iwlwifi: remove ucode16 option 2012-05-25 11:12:41 -04:00
Makefile iwlwifi: remove ucode16 option 2012-05-25 11:12:41 -04:00
iwl-1000.c
iwl-2000.c iwlwifi: do not use shadow registers by default 2012-05-25 11:12:40 -04:00
iwl-5000.c
iwl-6000.c iwlwifi: do not use shadow registers by default 2012-05-25 11:12:40 -04:00
iwl-agn-calib.c
iwl-agn-calib.h
iwl-agn-devices.c
iwl-agn-hw.h
iwl-agn-lib.c
iwl-agn-rs.c iwlwifi: update BT traffic load states correctly 2012-05-25 11:12:40 -04:00
iwl-agn-rs.h
iwl-agn-rx.c
iwl-agn-rxon.c
iwl-agn-sta.c iwlwifi: do not send lq cmd when station add fails 2012-05-25 11:12:41 -04:00
iwl-agn-tt.c
iwl-agn-tt.h
iwl-agn-tx.c
iwl-agn.c
iwl-agn.h
iwl-cfg.h
iwl-commands.h
iwl-config.h
iwl-csr.h
iwl-debug.c
iwl-debug.h
iwl-debugfs.c
iwl-dev.h
iwl-devtrace.c
iwl-devtrace.h
iwl-drv.c iwlwifi: fix memory leak if opmode fails to init 2012-05-25 11:12:41 -04:00
iwl-drv.h
iwl-eeprom.c
iwl-eeprom.h
iwl-fh.h
iwl-fw-file.h
iwl-fw.h
iwl-io.c
iwl-io.h
iwl-led.c
iwl-led.h
iwl-mac80211.c
iwl-modparams.h
iwl-notif-wait.c
iwl-notif-wait.h
iwl-op-mode.h
iwl-pci.c
iwl-power.c
iwl-power.h
iwl-prph.h
iwl-scan.c
iwl-testmode.c
iwl-testmode.h
iwl-trans-pcie-int.h iwlwifi: fix the Transmit Frame Descriptor rings 2012-05-25 11:12:40 -04:00
iwl-trans-pcie-rx.c
iwl-trans-pcie-tx.c iwlwifi: fix the Transmit Frame Descriptor rings 2012-05-25 11:12:40 -04:00
iwl-trans-pcie.c iwlwifi: fix the Transmit Frame Descriptor rings 2012-05-25 11:12:40 -04:00
iwl-trans.h
iwl-ucode.c