commit | 73e082f80d990c017c695a6750f7ac96cdc6308a | [log] [tgz] |
---|---|---|
author | Johan Hedberg <johan.hedberg@intel.com> | Tue Jul 08 15:07:51 2014 +0300 |
committer | Marcel Holtmann <marcel@holtmann.org> | Tue Jul 08 14:22:06 2014 +0200 |
tree | 23c41de743bdbdbfbf60af11d4c4439d0b599219 | |
parent | 0ec5ae8438af02bf2295f08585d8ab49d15eaf2c [diff] |
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 <johan.hedberg@intel.com> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>