commit | 36261547c9699c6bc746b1db9508aaeb68faa7c9 | [log] [tgz] |
---|---|---|
author | Marcel Holtmann <marcel@holtmann.org> | Tue Oct 15 08:28:51 2013 -0700 |
committer | Johan Hedberg <johan.hedberg@intel.com> | Tue Oct 15 18:42:12 2013 +0300 |
tree | 068ff3c6e29484cd5d3211e2b675e6248d0fdeb5 | |
parent | d4462a07de025dec0f5242743f4d687a39b78bd5 [diff] |
Bluetooth: Simplify the code for re-arming discoverable timeout When only the discoverable timeout gets updated, just cancel the current timeout, store the new timeout value. If the new timeout is valid, then arm the discoverable timeout again. Signed-off-by: Marcel Holtmann <marcel@holtmann.org> Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>