From: Ben Greear Date: Sun, 09 Jan 2011 21:48:54 -0800 Subject: [ath9k-devel] [PATCH 2/2] ath9k: Fix incorrect tx-hang detection logic. In-Reply-To: <20110110053835.GB5656@vasanth-laptop> References: <1294423259-8163-1-git-send-email-greearb@candelatech.com> <1294423259-8163-2-git-send-email-greearb@candelatech.com> <20110110053835.GB5656@vasanth-laptop> Message-ID: <4D2A9DC6.1030405@candelatech.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: ath9k-devel@lists.ath9k.org On 01/09/2011 09:38 PM, Vasanthakumar Thiagarajan wrote: > 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(). Ahhh, I see now. I'll remove this patch from my queue and make sure it still runs as well. Thanks, Ben > > Vasanth -- Ben Greear Candela Technologies Inc http://www.candelatech.com