On Saturday 28 October 2006 02:55, Jeff Williams wrote:
> Hello, and thanks for the great driver!
>
> For the past month of so, linville's wireless-dev has been crashing on
> bringing up bcm43xx_d80211 (unless of course I'm not understanding how git
> updates and I've been pulling it wrong). Until tonight, when I finally sat
> down and have figured out what was causing it, I had been using an old
> version of the git tree. The symptom of the problem I encounter is in
> bcm43xx_dma_handle_txstatus
>
> while (1) {
>
> assert(slot >= 0 && slot < ring->nr_slots);
> desc = ops->idx2desc(ring, slot, &meta);
> unmap_descbuffer(ring, meta->dmaaddr, meta->skb->len, 1);
>
> at this point (in the second pass after startup, I believe) meta->skb is a
> null pointer. I can see in idx2desc that meta is a pointer to a ring in
> memory. What is the problem? Am I using a bad firmware? Is the driver not
> properly storing the skb pointer? Where would I look in the code to find
> the root of this problem?
>
> I've fixed this temporarily by skipping unmap_descbuffer when meta->skb is
> 0, but I imagine that that is not a good idea.
Yep, that's a bug. I'll fix it and submit the fix to wireless-dev.
--
Greetings Michael.
_______________________________________________
Bcm43xx-dev mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/bcm43xx-dev