]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: Fix timeout on scanning for the second time
authorOliver Neukum <oliver@neukum.org>
Tue, 30 Aug 2011 13:52:18 +0000 (15:52 +0200)
committerGustavo F. Padovan <padovan@profusion.mobi>
Thu, 15 Sep 2011 14:54:05 +0000 (11:54 -0300)
commitbd1158a01322ac34cd846457e17aa2a5d8b54e74
treea53a572817b78a4b5f5397be841b0ddd79cfdbe7
parent3149a492e733ac2ffdb9ad6c92d199482eba6c24
Bluetooth: Fix timeout on scanning for the second time

The checks for HCI_INQUIRY and HCI_MGMT were in the wrong order,
so that second scans always failed.

Signed-off-by: Oliver Neukum <oneukum@suse.de>
Signed-off-by: Gustavo F. Padovan <padovan@profusion.mobi>
net/bluetooth/hci_event.c