diff --git a/src/device.c b/src/device.c
index 2eefc53..c7c5f58 100644
--- a/src/device.c
+++ b/src/device.c
bdaddr_t bdaddr;
uint8_t bdaddr_type;
char *path;
+ bool bredr;
+ bool le;
bool pending_paired; /* "Paired" waiting for SDP */
bool svc_resolved;
bool svc_refreshed;
return NULL;
device->bdaddr_type = bdaddr_type;
+
+ if (bdaddr_type == BDADDR_BREDR)
+ device->bredr = true;
+ else
+ device->le = true;
+
sba = btd_adapter_get_address(adapter);
ba2str(sba, src);
bdaddr_type == device->bdaddr_type)
return;
+ /* Since this function is only used for LE SMP Identity
+ * Resolving purposes we can now assume LE is supported.
+ */
+ device->le = true;
+
bacpy(&device->bdaddr, bdaddr);
device->bdaddr_type = bdaddr_type;