From: Stefan Seyfried Date: Tue, 30 Nov 2010 20:49:08 +0000 (+0100) Subject: Bluetooth: Fix log spamming in btusb due to autosuspend X-Git-Tag: v2.6.37-rc6~14^2~37^2~4^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=61faddf661a65a179751dc9fd209cb694d9a28af;p=pandora-kernel.git Bluetooth: Fix log spamming in btusb due to autosuspend If a device is autosuspended an inability to resubmit URBs is to be expected. Check the error code and only log real errors. (Now that autosuspend is default enabled for btusb, those log messages were happening all the time e.g. with a BT mouse) Signed-off-by: Stefan Seyfried Signed-off-by: Oliver Neukum Acked-by: Marcel Holtmann Signed-off-by: Gustavo F. Padovan --- Reading git-diff-tree failed