]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
iwlegacy: fix command queue timeout
authorStanislaw Gruszka <sgruszka@redhat.com>
Tue, 20 Sep 2011 14:46:36 +0000 (16:46 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 3 Oct 2011 18:41:11 +0000 (11:41 -0700)
commitf5f582e5a75724793895cc191ba7a8d2c05f59f4
treee8a700be3433b58d88254aab4dc28bb7b5b1c5dc
parentc7015062c18e619796e8d9c76a5fe7f300f80b7d
iwlegacy: fix command queue timeout

commit 2e2a41d6ca07d1b2aa67015c35fd80701c98e867 upstream.

iwlegacy version of fix:

commit 282cdb325aea4ebbc42ce753b47cc96145eb54bc
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.

Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/net/wireless/iwlegacy/iwl-tx.c