commit | d18aa87fbfe80f33076942d11f19c9d813e835b1 | [log] [tgz] |
---|---|---|
author | Johannes Berg <johannes.berg@intel.com> | Tue Nov 06 16:36:21 2012 +0100 |
committer | Johannes Berg <johannes.berg@intel.com> | Fri Nov 09 20:55:14 2012 +0100 |
tree | ac66e526137a249ba4c2a825111db6387dcb32d5 | |
parent | 2e6e6b1f3f6ca4903f2b2a8e8ac764e5cef2e7a8 [diff] |
iwlwifi: return commands with error on FW error When a firmware error occurs, don't just abort synchronous commands but also return an error (-EIO) and block any new commands as well. Currently, an error is only returned if WANT_SKB was set which is confusing and can lead to issues. Blocking is done until a new firmware image is loaded. Reviewed-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com> Signed-off-by: Johannes Berg <johannes.berg@intel.com>