p54usb: fix stalls caused by urb allocation failures
authorChristian Lamparter <chunkeey@web.de>
Mon, 6 Jul 2009 13:17:56 +0000 (15:17 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 10 Jul 2009 19:02:30 +0000 (15:02 -0400)
commit6d541a684d7eb72c71eaba82b09a360c96609134
tree7f96d9eae6ad0aa232678e576248744f98804220
parent1be491fca12ff599c37ceaf7e9042ebee9f0068e
p54usb: fix stalls caused by urb allocation failures

This patch squashes a few old bugs, which have been around since
the initial version of p54usb in one form or another.

we never freed a orphaned frame, when were denied the resources,
which are necessary to pass the data into the usb subsystem.
As a result we could end up with a full queue that wasn't emptied,
until the device was brought down.

Signed-off-by: Christian Lamparter <chunkeey@web.de>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/p54/p54usb.c