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