On Tue, Jun 3, 2008 at 8:29 PM, Ivo van Doorn <ivdoorn@xxxxxxxxx> wrote: > This fixes a "BUG: unable to handle kernel paging request" > bug in rt73usb which was caused by killing the guardian_urb > while it had never been allocated for rt73usb. > > Signed-off-by: Ivo van Doorn <IvDoorn@xxxxxxxxx> Acked-by: Gábor Stefanik <netrolller.3d@xxxxxxxxx> > --- > drivers/net/wireless/rt2x00/rt2x00usb.c | 5 ++++- > 1 files changed, 4 insertions(+), 1 deletions(-) > > diff --git a/drivers/net/wireless/rt2x00/rt2x00usb.c b/drivers/net/wireless/rt2x00/rt2x00usb.c > index 52d12fd..36a087a 100644 > --- a/drivers/net/wireless/rt2x00/rt2x00usb.c > +++ b/drivers/net/wireless/rt2x00/rt2x00usb.c > @@ -394,8 +394,11 @@ void rt2x00usb_disable_radio(struct rt2x00_dev *rt2x00dev) > } > > /* > - * Kill guardian urb. > + * Kill guardian urb (if required by driver). > */ > + if (!test_bit(DRIVER_REQUIRE_BEACON_GUARD, &rt2x00dev->flags)) > + return; > + > for (i = 0; i < rt2x00dev->bcn->limit; i++) { > bcn_priv = rt2x00dev->bcn->entries[i].priv_data; > if (bcn_priv->guardian_urb) > -- > 1.5.5.3 > > -- > 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 > -- Vista: [V]iruses, [I]ntruders, [S]pyware, [T]rojans and [A]dware. :-) -- 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