Search Linux Wireless

Re: [PATCH] rt2x00usb: Use usb anchors to manage URB

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi

On Wed, Mar 16, 2016 at 06:28:51PM +0100, Vishal Thanki wrote:
> +struct rt2x00usb_anchors {
> +	struct usb_anchor async_urb;
> +	struct usb_anchor tx_submitted;
> +	struct usb_anchor rx_submitted;
> +};

I don't think we need 3 different usb_anchor's, one should be
enough.

> +static struct rt2x00usb_anchors *anchors;

usb_anchor structure should be embedded in rt2x00_dev structure,
otherwise you can kill urb's from other rt2x00 devices, when
disconnecting another one.

Stanislaw
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux