]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitcd4357d0761d528f7fcf53a94c8a86e63e401435
tree3d9e5ee81033dac44ee18821155bbd0eb44391fe
parent2f2185eeb61050719243e4becf65b018fc6a4411
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