]> 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)
commitb1582578dba9ff9116f4854d520353d54a29c7a8
treef105655f9b27dfb3a799d4035d0dc77adeec1160
parent9276e6f81ea616e0678e1bf48ec2f1c2761bdc13
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