]> git.proxmox.com Git - mirror_ubuntu-kernels.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)
commit2d20a26a92f72e3bb658fe8ce99c3663756e9e7a
treea53a572817b78a4b5f5397be841b0ddd79cfdbe7
parent687beaa0d1d937c327e2f97b4b4fa6c23ca70624
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