From: Johan Hedberg Date: Mon, 14 Oct 2013 18:15:24 +0000 (+0300) Subject: Bluetooth: Make Set Connectable also update the LE advertising type X-Git-Tag: v3.13-rc1~105^2~55^2^2~54^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1987fdc77f49282efeec76d14eee2ded3ee9b5d2;p=pandora-kernel.git Bluetooth: Make Set Connectable also update the LE advertising type This patch updates the Set Connectable Management command to also update the LE advertising type to either connectable or non-connectable advertising. An extra helper function is needed for getting the right advertising type since we can not only rely on the HCI_CONNECTABLE flag but must also check for a pending Set Connectable command (in which case the flag does not yet have its final value). Signed-off-by: Johan Hedberg Signed-off-by: Marcel Holtmann --- Reading git-diff-tree failed