diff options
author | Stanislav Yakovlev <stas.yakovlev@gmail.com> | 2012-04-19 15:55:09 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2012-04-23 14:57:49 -0400 |
commit | dd447319895d0c0af423e483d9b63f84f3f8869a (patch) | |
tree | 21c7c322adb4b9117c89331a9e61c0e47603b601 /drivers/net/wireless/rtlwifi | |
parent | 8db4c7e25d153fb049e81715d72fa3be3a0c3b69 (diff) | |
download | talos-op-linux-dd447319895d0c0af423e483d9b63f84f3f8869a.tar.gz talos-op-linux-dd447319895d0c0af423e483d9b63f84f3f8869a.zip |
ipw2200: Fix race condition in the command completion acknowledge
Driver incorrectly validates command completion: instead of waiting
for a command to be acknowledged it continues execution. Most of the
time driver gets acknowledge of the command completion in a tasklet
before it executes the next one. But sometimes it sends the next
command before it gets acknowledge for the previous one. In such a
case one of the following error messages appear in the log:
Failed to send SYSTEM_CONFIG: Already sending a command.
Failed to send ASSOCIATE: Already sending a command.
Failed to send TX_POWER: Already sending a command.
After that you need to reload the driver to get it working again.
This bug occurs during roaming (reported by Sam Varshavchik)
https://bugzilla.redhat.com/show_bug.cgi?id=738508
and machine booting (reported by Tom Gundersen and Mads Kiilerich)
https://bugs.archlinux.org/task/28097
https://bugzilla.redhat.com/show_bug.cgi?id=802106
This patch doesn't fix the delay issue during firmware load.
But at least device now works as usual after boot.
Cc: stable@kernel.org
Signed-off-by: Stanislav Yakovlev <stas.yakovlev@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/rtlwifi')
0 files changed, 0 insertions, 0 deletions