]> git.kernelconcepts.de Git - karo-tx-linux.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)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 3 Oct 2011 18:41:01 +0000 (11:41 -0700)
commit8341e503c2628f056a9fdfe244f15c96b31c04c9
tree24937a0d3ad5f7775edacdfe5e154b2a4d703527
parentcaebafff01eee11443bbee4e036497d234f29d76
Bluetooth: Fix timeout on scanning for the second time

commit 2d20a26a92f72e3bb658fe8ce99c3663756e9e7a upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
net/bluetooth/hci_event.c