From: Johan Hedberg Date: Tue, 8 Jul 2014 12:07:50 +0000 (+0300) Subject: Bluetooth: Simplify usage of the enable_advertising function X-Git-Tag: omap-for-v3.17/fixes-against-rc2~149^2~73^2~87^2~19 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0ec5ae8438af02bf2295f08585d8ab49d15eaf2c;p=pandora-kernel.git Bluetooth: Simplify usage of the enable_advertising function By adding support for disabling advertising when necessary and doing the checks for existing LE connections inside the enable_advertising function we can simplify the calling code quite a lot. Signed-off-by: Johan Hedberg Signed-off-by: Marcel Holtmann --- Reading git-diff-tree failed