From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail27.static.mailgun.info ([104.130.122.27]) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jLUXl-0000B6-M5 for ath11k@lists.infradead.org; Mon, 06 Apr 2020 16:24:15 +0000 MIME-Version: 1.0 Subject: Re: [PATCH] ath11k: Avoid mgmt tx count underflow From: Kalle Valo In-Reply-To: <1585567028-9242-1-git-send-email-srirrama@codeaurora.org> References: <1585567028-9242-1-git-send-email-srirrama@codeaurora.org> Message-Id: <20200406162411.F1256C43636@smtp.codeaurora.org> Date: Mon, 6 Apr 2020 16:24:11 +0000 (UTC) List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "ath11k" Errors-To: ath11k-bounces+kvalo=adurom.com@lists.infradead.org To: Sriram R Cc: linux-wireless@vger.kernel.org, ath11k@lists.infradead.org Sriram R wrote: > The mgmt tx count reference is incremented/decremented on every mgmt tx and on > tx completion event from firmware. > In case of an unexpected mgmt tx completion event from firmware, > the counter would underflow. Avoid this by decrementing > only when the tx count is greater than 0. > > Signed-off-by: Sriram R > Signed-off-by: Kalle Valo Patch applied to ath-next branch of ath.git, thanks. 800113ff4b1d ath11k: Avoid mgmt tx count underflow -- https://patchwork.kernel.org/patch/11465279/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches _______________________________________________ ath11k mailing list ath11k@lists.infradead.org http://lists.infradead.org/mailman/listinfo/ath11k