]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit
iwlagn: fix command queue timeout
authorJohannes Berg <johannes.berg@intel.com>
Mon, 12 Sep 2011 19:09:10 +0000 (12:09 -0700)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 13 Sep 2011 18:32:02 +0000 (14:32 -0400)
commit282cdb325aea4ebbc42ce753b47cc96145eb54bc
tree32df392e7f5fbb7437c5d90f112d68fde1d7af87
parent456fc37e4519f3f551830ce01c58ddaa35807204
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.

Cc: stable@kernel.org #2.6.39, #3.0.0 #3.1.0
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
SIgned-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/iwlwifi/iwl-trans-tx-pcie.c