diff options
author | 2012-11-06 16:36:21 +0100 | |
---|---|---|
committer | 2012-11-09 20:55:14 +0100 | |
commit | d18aa87fbfe80f33076942d11f19c9d813e835b1 (patch) | |
tree | ac66e526137a249ba4c2a825111db6387dcb32d5 /lib/spinlock_debug.c | |
parent | iwlwifi: fix typo in RX data tracing (diff) | |
download | linux-dev-d18aa87fbfe80f33076942d11f19c9d813e835b1.tar.xz linux-dev-d18aa87fbfe80f33076942d11f19c9d813e835b1.zip |
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>
Diffstat (limited to 'lib/spinlock_debug.c')
0 files changed, 0 insertions, 0 deletions