]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: Refactor discovery stopping into its own function
authorJohan Hedberg <johan.hedberg@intel.com>
Tue, 10 Jun 2014 11:05:58 +0000 (14:05 +0300)
committerMarcel Holtmann <marcel@holtmann.org>
Fri, 13 Jun 2014 11:32:20 +0000 (13:32 +0200)
commit3699197c9171084ca78c99e5c979a51282bb559f
treef105655f9b27dfb3a799d4035d0dc77adeec1160
parentf209a4116fc57bfd846d1c6a4cba2bf034058c0f
Bluetooth: Refactor discovery stopping into its own function

We'll need to reuse the same logic for stopping discovery also when
cleaning up HCI state when powering off. This patch refactors the code
out to its own function that can later (in a subsequent patch) be used
also for the power off case.

Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Cc: stable@vger.kernel.org
net/bluetooth/mgmt.c