commit | 6fd1fb63abeb78fd7fe30f08f478732ad601702c | [log] [tgz] |
---|---|---|
author | Luciano Coelho <luciano.coelho@intel.com> | Mon Nov 10 11:10:10 2014 +0200 |
committer | Emmanuel Grumbach <emmanuel.grumbach@intel.com> | Mon Nov 24 08:30:28 2014 +0200 |
tree | 89b4e6cd7395272c0ab72d3aafb2d77a9cb4908f | |
parent | 48a256e8aed05df3a90a0e9cdfcc558d139ec7f5 [diff] |
iwlwifi: mvm: return the actual error code when switch_vif_chanctx fails We have code to recover and go back to the original channel context if something fails in the middle of switch_vif_chanctx, but we return the error code of the recover calls instead of the original code, so if the recovery succeeds, we will return 0 (success). Fix this by not assigning the return value of the recovery calls to ret. Signed-off-by: Luciano Coelho <luciano.coelho@intel.com>