ath10k: Initialize nbytes to 0

Ben Greear greearb at
Mon May 22 09:17:00 PDT 2017

On 05/22/2017 07:53 AM, Kalle Valo wrote:
> Ben Greear <greearb at> wrote:
>> From: Ben Greear <greearb at>
>> 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 <greearb at>
> This patch was in linux-wireless patchwork instance but not in ath10k instance,
> which means that the patch was not delivered to ath10k list. I guesss mailing
> list problems?
> But anyway, I didn't see any comments. Is this still valid?

 From my reading of the firmware, it appears the patch is a good idea.
It at least does not seem to make anything worse as it has not
been implicated in any problems in our testing and it has been in our kernel
since I posted the patch.

So, I think it should be applied.


Ben Greear <greearb at>
Candela Technologies Inc

More information about the ath10k mailing list