]> git.baikalelectronics.ru Git - kernel.git/commit
iwlegacy: fix command queue timeout
authorStanislaw Gruszka <sgruszka@redhat.com>
Tue, 20 Sep 2011 14:46:36 +0000 (16:46 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 21 Sep 2011 19:58:23 +0000 (15:58 -0400)
commite0f7b4f7910cb3db382198147225f71707ce3aa5
treede9b3996a2c478acd6a0f0776253d3380884da4b
parentbb609a034d8e146e8bb9d8a6e89b91a459ce2fae
iwlegacy: fix command queue timeout

iwlegacy version of fix:

commit e57fef19c281d4cde20a4d82d87b6105d3c0f7dd
Author: Johannes Berg <johannes.berg@intel.com>
Date:   Mon Sep 12 12:09:10 2011 -0700

    iwlagn: fix command queue timeout

    If the command queue is constantly busy,
    which can happen in P2P, the hangcheck
    timer will frequently find a command in
    it and will eventually reset the device
    because nothing sets the timestamp for
    this queue when commands are processed.

    Fix this by setting the timestamp when
    a command completes.

iwlegacy does not support P2P, but this patch fix possible
unneeded hardware resets, hence is needed.

Cc: stable@kernel.org # 2.6.39+
Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/iwlegacy/iwl-tx.c