]> git.baikalelectronics.ru Git - kernel.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)
commit217b18bc8574e2a61270a066a186ffd7ae2f10a1
tree1e043eea59c91f248dcbce117dac4ddb4939da30
parent8e64cb5c4af080342c997aeff2327cda472ebdc8
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