From: Johan Hedberg Date: Tue, 8 Jul 2014 12:07:47 +0000 (+0300) Subject: Bluetooth: Add flag to track the real advertising state X-Git-Tag: omap-for-v3.17/fixes-against-rc2~149^2~73^2~87^2~22 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=66c417c1ee01398ac5ab1c749a20c4d8ba50e9a9;p=pandora-kernel.git Bluetooth: Add flag to track the real advertising state Having a single HCI_ADVERTISING flag is problematic since it tries to track both the real advertising state and the corresponding mgmt setting. To make the logic simpler and more reliable add a new flag that only tracks the actual advertising state that has been written to the controller. Signed-off-by: Johan Hedberg Signed-off-by: Marcel Holtmann --- Reading git-diff-tree failed