commit | 5e5282bbfde9ca6157dba913d90cbab859a837e2 | [log] [tgz] |
---|---|---|
author | Johan Hedberg <johan.hedberg@intel.com> | Tue Feb 21 16:01:30 2012 +0200 |
committer | Johan Hedberg <johan.hedberg@intel.com> | Tue Feb 21 20:04:39 2012 +0200 |
tree | 202265653320550db8c7aea3087bb5cfc8ca032e | |
parent | 0cbf4ed6e6f43ac399afefdd14a1ee86db8de7d0 [diff] |
Bluetooth: mgmt: Allow connectable/discoverable changes in off state This patch makes it possible to toggle the connectable & discoverable settings when powered off. Two new hdev->dev_flags flags are added to track what the scan mode should be when the device is finally powered on. Signed-off-by: Johan Hedberg <johan.hedberg@intel.com> Acked-by: Marcel Holtmann <marcel@holtmann.org>