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)
commitb93b1fe3b5323d5418b151dd620c4eb80270f683
tree3d9e5ee81033dac44ee18821155bbd0eb44391fe
parentefad21d2a2e9b69dfeee576cd01831e94290241c
iwlwifi: mvm: fix init_dbg flow to work as expected

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>
drivers/net/wireless/iwlwifi/mvm/ops.c