From: Johan Hedberg Date: Tue, 8 Jul 2014 12:07:51 +0000 (+0300) Subject: Bluetooth: Use the correct flag to decide to disable advertising X-Git-Tag: omap-for-v3.17/fixes-against-rc2~149^2~73^2~87^2~18 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=73e082f80d990c017c695a6750f7ac96cdc6308a;p=pandora-kernel.git Bluetooth: Use the correct flag to decide to disable advertising When deciding to call disable_advertising() we're interested in the real state instead of the mgmt setting. Use therefore HCI_LE_ADV instead of the HCI_ADVERTISING flag. Signed-off-by: Johan Hedberg Signed-off-by: Marcel Holtmann --- Reading git-diff-tree failed