
18 Jan
2011
18 Jan
'11
1:15 a.m.
Hi,
ether.c contains the following code :
req->buf = (u8 *) NetRxPackets[0]; req->length = size; req->complete = rx_complete;
retval = usb_ep_queue(dev->out_ep, req, gfp_flags);
My USB controller code that I'm writing responds that req->buf is NULL. So the OUT packets don't get processed. I know OUT data arrives in my controller code as I can read it, so my OUT endpoint is working. Also my status endpoint is working correctly and my guess is there's nothing wrong with my controller code.
Anyone have an idea how NetRxPackets is allocated ?
Best regards, Marcel