commit 0b72b0a05c1d950e4f35520926cc36bc01fb998a Author: Oliver Neukum <oliver@xxxxxxxxxx> Date: Mon Dec 14 22:09:49 2009 +0100 btusb:Prevent illtimed autosuspend The device must be marked busy as it recieves data. Signed-off-by: Oliver Neukum <oliver@xxxxxxxxxx> diff --git a/drivers/bluetooth/btusb.c b/drivers/bluetooth/btusb.c index 4d29059..a699f09 100644 --- a/drivers/bluetooth/btusb.c +++ b/drivers/bluetooth/btusb.c @@ -307,6 +307,7 @@ static void btusb_bulk_complete(struct urb *urb) return; usb_anchor_urb(urb, &data->bulk_anchor); + usb_mark_last_busy(data->udev); err = usb_submit_urb(urb, GFP_ATOMIC); if (err < 0) { -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html