diff options
author | Johan Hedberg <johan.hedberg@intel.com> | 2015-11-16 12:22:46 +0200 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@intel.com> | 2015-11-16 12:22:46 +0200 |
commit | 04f68f5418beb960ee97588437576012ce916e8c (patch) | |
tree | 22fec59238755cabc4282614587d0274668d335d /emulator/hciemu.h | |
parent | dd64e9f908bbb980aea34362bcce0560eaaed58c (diff) | |
download | bluez-04f68f5418beb960ee97588437576012ce916e8c.tar.gz |
emulator: Return raw LE scan_enable value
This is more future proof (in case other values besides 0x00/0x01 are
introduced) and consistent with a similar BR/EDR API that will be
added soon.
Diffstat (limited to 'emulator/hciemu.h')
-rw-r--r-- | emulator/hciemu.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/emulator/hciemu.h b/emulator/hciemu.h index 04bfab746..bfc184d93 100644 --- a/emulator/hciemu.h +++ b/emulator/hciemu.h @@ -53,7 +53,7 @@ uint8_t *hciemu_get_features(struct hciemu *hciemu); const uint8_t *hciemu_get_master_bdaddr(struct hciemu *hciemu); const uint8_t *hciemu_get_client_bdaddr(struct hciemu *hciemu); -bool hciemu_is_master_le_scan_enabled(struct hciemu *hciemu); +uint8_t hciemu_get_master_le_scan_enable(struct hciemu *hciemu); typedef void (*hciemu_command_func_t)(uint16_t opcode, const void *data, uint8_t len, void *user_data); |