]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
iwlwifi: mvm: handle device start failure correctly
authorJohannes Berg <johannes.berg@intel.com>
Thu, 7 May 2015 12:47:50 +0000 (14:47 +0200)
committerEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Thu, 28 May 2015 10:35:15 +0000 (13:35 +0300)
commitd643c432223270844c4fd8dcfaec85404d36bde7
tree1e043eea59c91f248dcbce117dac4ddb4939da30
parent3db93420f780d39dbef22ef6a5485aac009e02dc
iwlwifi: mvm: handle device start failure correctly

If the device fails to start correctly prior to loading the
regular runtime firmware (after having run the INIT firmware),
treat that error correctly by actually checking the return
value of _iwl_trans_start_hw() and stopping the device again
before returning an error.

Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
drivers/net/wireless/iwlwifi/mvm/fw.c