From: Vasanthakumar Thiagarajan Date: Mon, 10 Jan 2011 11:08:35 +0530 Subject: [ath9k-devel] [PATCH 2/2] ath9k: Fix incorrect tx-hang detection logic. In-Reply-To: <1294423259-8163-2-git-send-email-greearb@candelatech.com> References: <1294423259-8163-1-git-send-email-greearb@candelatech.com> <1294423259-8163-2-git-send-email-greearb@candelatech.com> Message-ID: <20110110053835.GB5656@vasanth-laptop> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: ath9k-devel@lists.ath9k.org On Fri, Jan 07, 2011 at 11:30:59PM +0530, greearb at candelatech.com wrote: > From: Ben Greear > > It is not guaranteed that the ath_tx_complete_poll_work runs > after some fixed duration because the channel-reset logic > removes the work and then re-adds it to run immediately. > Two channel-changes 1ms apart, with a transmit was being > attempted, could thus incorrectly trigger a reset by > the ath_tx_complete_poll_work method. I don't think so. axq_tx_inprogress is reset in ath_draintxq(). Vasanth