From: Johan Hedberg Date: Thu, 10 Jul 2014 07:51:27 +0000 (+0300) Subject: Bluetooth: Fix advertising parameter update when toggling connectable X-Git-Tag: omap-for-v3.17/fixes-against-rc2~149^2~73^2~42^2~34 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e8b1202ce6ab67341660812e7d66db4c3e2a5649;p=pandora-kernel.git Bluetooth: Fix advertising parameter update when toggling connectable When we change the connectable state and have advertising enabled we should update the advertising parameters no matter what. The code was incorrectly only updating them if advertising was not already active. This patch fixes the issue. Signed-off-by: Johan Hedberg Signed-off-by: Marcel Holtmann --- Reading git-diff-tree failed