Search Linux Wireless

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

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

 



On Thu, Mar 17, 2016 at 10:53:18AM +0100, Vishal Thanki wrote:
> > usb_anchor structure should be embedded in rt2x00_dev structure,
> > otherwise you can kill urb's from other rt2x00 devices, when
> > disconnecting another one.
> > 
> 
> rt2x00_dev structure does not contain any bus specific data structures
> (for example no structures present for USB/PCI). Should I add a void
> *ptr in rt2x00_dev and cast it as usb_anchor in rt2x00usb.c?

No, just add usb_anchor to rt2x00_dev (and include proper header if
needed).

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