Return-path: Received: from wolverine01.qualcomm.com ([199.106.114.254]:54036 "EHLO wolverine01.qualcomm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751058AbdFAM6U (ORCPT ); Thu, 1 Jun 2017 08:58:20 -0400 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Subject: Re: ath10k: Initialize nbytes to 0 From: Kalle Valo In-Reply-To: <1483653641-8377-1-git-send-email-greearb@candelatech.com> References: <1483653641-8377-1-git-send-email-greearb@candelatech.com> To: Ben Greear CC: , , Ben Greear Message-ID: (sfid-20170601_145832_686245_5E3ACBD0) Date: Thu, 1 Jun 2017 05:58:16 -0700 Sender: linux-wireless-owner@vger.kernel.org List-ID: Ben Greear wrote: > ath10k firmware checks nbytes == 0 as part of determining if DMA > has completed successfully. To help make this work more often, > have the driver initialize nbytes to zero when freeing the descriptor > slot. > > Signed-off-by: Ben Greear > Signed-off-by: Kalle Valo Patch applied to ath-next branch of ath.git, thanks. 4f40b423339b ath10k: initialize nbytes to 0 -- https://patchwork.kernel.org/patch/9499733/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches