iwlwifi: mvm: fix init_dbg flow to work as expected
authorLiad Kaufman <liad.kaufman@intel.com>
Tue, 21 Oct 2014 13:01:50 +0000 (15:01 +0200)
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Tue, 11 Nov 2014 15:15:03 +0000 (17:15 +0200)
Even if running the driver with param init_dbg=1 - on INIT
image error - iwl_trans_stop_device() was still called. This
patch fixes that and calls iwl_trans_stop_device() on INIT
image failure only if init_dbg=0.

Signed-off-by: Liad Kaufman <liad.kaufman@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>

No differences found