rt2x00: Don't kill guardian_urb when it wasn't created
authorIvo van Doorn <IvDoorn@gmail.com>
Tue, 3 Jun 2008 18:29:50 +0000 (20:29 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 13 Jun 2008 20:14:46 +0000 (16:14 -0400)
commitedfa78b2ba651782d70be6d1fef214e21a26d8cb
tree9a6e72d3663601923281ce08f90529ce10da2dc1
parentec0a196626bd12e0ba108d7daa6d95a4fb25c2c5
rt2x00: Don't kill guardian_urb when it wasn't created

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@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/rt2x00/rt2x00usb.c