On Thu, 14 Mar 2013 13:46:19 -0500
Larry Finger <larry.fin...@lwfinger.net> wrote:

>       if (unlikely(slot != firstused)) {
>               /* This possibly is a firmware bug and will result in
> -              * malfunction, memory leaks and/or stall of DMA functionality. 
> */
> +              * malfunction, memory leaks and/or stall of DMA functionality.
> +              */
>               b43dbg(dev->wl, "Out of order TX status report on DMA ring %d. "
>                      "Expected %d, but got %d\n",
>                      ring->index, firstused, slot);
> -             return;
> +             if (slot == firstused + 2) {

I guess you need to handle wrap-over here.
This would probably do:
                if (slot == next_slot(ring, next_slot(ring, firstused)))

-- 
Michael

Attachment: signature.asc
Description: PGP signature

_______________________________________________
b43-dev mailing list
b43-dev@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/b43-dev

Reply via email to