diff options
author | Szymon Janc <szymon.janc@tieto.com> | 2014-05-19 19:33:50 +0200 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@intel.com> | 2014-05-19 20:40:31 +0300 |
commit | 4f9577e675d1405a1ed03a80d7b9706b06bb2421 (patch) | |
tree | 5dbd7177fd45180dc719a91bb3c210ca477246b7 /src/device.h | |
parent | 547ddef35c3a13873ce35c1c2d9879cdec75e9b4 (diff) | |
download | bluez-4f9577e675d1405a1ed03a80d7b9706b06bb2421.tar.gz |
core: Improve handling of unpaired event
Unpaired event is per bearer and and bluetoothd should unpair device
only on that bearer.
Diffstat (limited to 'src/device.h')
-rw-r--r-- | src/device.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/device.h b/src/device.h index 299dd3e51..2e0473ef9 100644 --- a/src/device.h +++ b/src/device.h @@ -82,6 +82,7 @@ bool device_is_paired(struct btd_device *device, uint8_t bdaddr_type); bool device_is_bonded(struct btd_device *device, uint8_t bdaddr_type); gboolean device_is_trusted(struct btd_device *device); void device_set_paired(struct btd_device *dev, uint8_t bdaddr_type); +void device_set_unpaired(struct btd_device *dev, uint8_t bdaddr_type); void btd_device_set_temporary(struct btd_device *device, gboolean temporary); void btd_device_set_trusted(struct btd_device *device, gboolean trusted); void device_set_bonded(struct btd_device *device, uint8_t bdaddr_type); |