On Thu, Mar 17, 2016 at 12:55:59PM +0100, Vishal Thanki wrote:
> @@ -840,6 +857,8 @@ void rt2x00usb_disconnect(struct usb_interface *usb_intf)
> struct ieee80211_hw *hw = usb_get_intfdata(usb_intf);
> struct rt2x00_dev *rt2x00dev = hw->priv;
>
> + usb_kill_anchored_urbs(rt2x00dev-
On Thu, Mar 17, 2016 at 03:56:43PM +0100, Stanislaw Gruszka wrote:
> On Thu, Mar 17, 2016 at 12:55:59PM +0100, Vishal Thanki wrote:
> > @@ -840,6 +857,8 @@ void rt2x00usb_disconnect(struct usb_interface
> > *usb_intf)
> > struct ieee80211_hw *hw = usb_get_intfdata(usb_intf);
> > struct rt2
With current driver, it is observed that a URB is not
completed while the USB disconnect is initiated. Due to
that, the URB completion hanlder is trying to access
the resource which was freed as a part of USB disconnect.
Managing the URBs with anchor will make sure that all
the URBs are handled gra
On Thu, Mar 17, 2016 at 04:26:22PM +0100, Vishal Thanki wrote:
> On Thu, Mar 17, 2016 at 03:56:43PM +0100, Stanislaw Gruszka wrote:
> > On Thu, Mar 17, 2016 at 12:55:59PM +0100, Vishal Thanki wrote:
> > > @@ -840,6 +857,8 @@ void rt2x00usb_disconnect(struct usb_interface
> > > *usb_intf)
> > > s