]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: Fix log spamming in btusb due to autosuspend
authorStefan Seyfried <seife+kernel@b1-systems.com>
Tue, 30 Nov 2010 20:49:08 +0000 (21:49 +0100)
committerGustavo F. Padovan <padovan@profusion.mobi>
Wed, 1 Dec 2010 17:46:42 +0000 (15:46 -0200)
commita4b041276ece1d3e04a3df05b3243cad489f8af9
treeeab3c6255b905f801e77d470e51f489fe2c29b2b
parentd07d41ec5364728801d5414c4f4445042b7f0fa3
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 <seife+kernel@b1-systems.com>
Signed-off-by: Oliver Neukum <oneukum@suse.de>
Acked-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
drivers/bluetooth/btusb.c