]> 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)
commitd04a8b41f2b5274fcc114d7accc2619e9f683910
tree1e043eea59c91f248dcbce117dac4ddb4939da30
parent505d0174ec6652b505e77f71654ed90770b40777
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