From: Johan Hedberg Date: Sat, 5 Oct 2013 10:01:06 +0000 (+0200) Subject: Bluetooth: Fix re-enabling advertising after a connection X-Git-Tag: v3.13-rc1~105^2~55^2^2~54^2~134 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2210246cf52bd60e8af452f8e184d1cb53e1e4b1;p=pandora-kernel.git Bluetooth: Fix re-enabling advertising after a connection LE controllers will automatically disable advertising whenever they accept a new connection. In order not to fall out of sync with the advertising setting we need to re-enable advertising whenever the last LE connection drops. A failure to re-enable advertising should cause the setting to be disabled, so this patch also calls mgmt_new_settings() when this happens. Signed-off-by: Johan Hedberg Signed-off-by: Marcel Holtmann --- Reading git-diff-tree failed