commit | 504c8dcd6b0ec3cd36ab221695c5516e88cf3d79 | [log] [tgz] |
---|---|---|
author | Johan Hedberg <johan.hedberg@intel.com> | Thu Feb 23 13:30:41 2012 +0200 |
committer | Johan Hedberg <johan.hedberg@intel.com> | Thu Feb 23 17:01:49 2012 +0200 |
tree | fcc0639d4532ffe12898d793f0383e03c5ae5101 | |
parent | 69775ff6d101ccf435bd26ae822c24bbb20e11cf [diff] |
Bluetooth: mgmt: Fix update_eir/class with HCI_AUTO_OFF flag set If we're powered but still have the HCI_AUTO_OFF flag set the update_eir and update_class functions should not do anything. Additionally these functions need to be called when the flag is finally cleared through set_powered or when powering on for real. Signed-off-by: Johan Hedberg <johan.hedberg@intel.com> Acked-by: Gustavo F. Padovan <padovan@profusion.mobi> Acked-by: Marcel Holtmann <marcel@holtmann.org>