commit | 21a60d307ddc2180cfa542a995d943d1034cf5c5 | [log] [tgz] |
---|---|---|
author | Johan Hedberg <johan.hedberg@intel.com> | Tue Jun 10 14:05:58 2014 +0300 |
committer | Marcel Holtmann <marcel@holtmann.org> | Fri Jun 13 13:32:20 2014 +0200 |
tree | f105655f9b27dfb3a799d4035d0dc77adeec1160 | |
parent | 50143a433b70e3145bcf8a4a4e54f0c11bdee32b [diff] |
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