This patch fixes following covery issues:
CID-1619563
CID-1619564
Change-Id: Idcc24b7a3696bcad14ba98d0d7eead2605613eaa
Signed-off-by: Anuj Kumar Singh <anujk.singh@samsung.com>
(unsigned char *)dev_list.addresses[i].addr);
if (g_strcmp0(device_address, temp_address) == 0)
return BT_DPM_RESTRICTED;
- else
- return BT_DPM_ALLOWED;
}
} else {
return BT_DPM_NO_SERVICE;
for (i = 0; i < uuid_list.count; i++) {
if (g_strcmp0(uuid, uuid_list.uuids[i]) == 0)
return BT_DPM_RESTRICTED;
- else
- return BT_DPM_ALLOWED;
}
} else {
return BT_DPM_NO_SERVICE;