Re: [PATCH wireless-next 6/8] wifi: wlcore: add pn16 support

From: Nemanov, Michael
Date: Thu May 30 2024 - 08:46:41 EST


On 5/30/2024 3:25 PM, Nemanov, Michael wrote:
[...]


On 5/30/2024 11:20 AM, Russell King (Oracle) wrote:
[...]
> The original code was > tx_lnk_free_pkts = status->counters.tx_lnk_free_pkts[i]; > diff = (tx_lnk_free_pkts - lnk->prev_freed_pkts) & 0xff; > > if (diff == 0) > continue; > > I wonder if comparing tx_lnk_free_pkts to 0 was added intentionally? This is > monotonously incremented counter so 0 is not significant, unlike the diff. > Have I missed something? You are... While you're

[...]

And sorry for making a mess of the quoted text on the previous message, got it sorted now.

Michael.