commit | bbb2adc7b47cbe841d3cb2fa048f720647f5f4cd | [log] [tgz] |
---|---|---|
author | Vladimir Kondratiev <qca_vkondrat@qca.qualcomm.com> | Wed Aug 06 10:31:52 2014 +0300 |
committer | John W. Linville <linville@tuxdriver.com> | Mon Aug 25 16:17:32 2014 -0400 |
tree | 716b194672288a2478ff8a6c796e509eca6148dc | |
parent | 02525a7925c9a3c55ceef7e9a30218dc47ced1ad [diff] |
wil6210: check error in wil_target_reset() When resetting target in wil_target_reset(), error may occur. Indicate error via error code. In case of error, don't attempt to further interact with card, specifically don't attempt firmware download or interrupts enabling. Move wil_rx_fini() to be always executed to prevent memory leak. Signed-off-by: Vladimir Kondratiev <qca_vkondrat@qca.qualcomm.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>