75813bde1f
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> |
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
iwl-1000.c | ||
iwl-2000.c | ||
iwl-5000.c | ||
iwl-6000.c | ||
iwl-agn-calib.c | ||
iwl-agn-calib.h | ||
iwl-agn-devices.c | ||
iwl-agn-hw.h | ||
iwl-agn-lib.c | ||
iwl-agn-rs.c | ||
iwl-agn-rs.h | ||
iwl-agn-rx.c | ||
iwl-agn-rxon.c | ||
iwl-agn-sta.c | ||
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 | ||
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 | ||
iwl-trans-pcie-rx.c | ||
iwl-trans-pcie-tx.c | ||
iwl-trans-pcie.c | ||
iwl-trans.h | ||
iwl-ucode.c |