From: Johan Hedberg Date: Tue, 10 Jun 2014 11:05:58 +0000 (+0300) Subject: Bluetooth: Refactor discovery stopping into its own function X-Git-Tag: omap-for-v3.16/fixes-rc4~53^2~21^2^2~4^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=21a60d307ddc2180cfa542a995d943d1034cf5c5;p=pandora-kernel.git 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 Signed-off-by: Marcel Holtmann Cc: stable@vger.kernel.org --- Reading git-diff-tree failed