[Model] All
[BinType] AP
[Customer] OPEN
[Issue#] N/A
[Request] Internal
[Occurrence Version] N/A
[Problem] address comparison is wrong
[Cause & Measure] Fix the bug
[Checking Method]
[Team] Convergence BT
[Developer] Injun Yang
[Solution company] Samsung
[Change Type] Specification change
Change-Id: Ie54cea33efe3dbdaeb14c144a734a24a88936ba9
Signed-off-by: Wootak Jung <wootak.jung@samsung.com>
continue;
if (g_strcmp0(req_info->addr, address) == 0) {
+ BT_DBG("Remove unhandled req_info %s", address);
g_free(req_info->addr);
+ gatt_server_requests = g_slist_remove(gatt_server_requests, req_info);
break;
}
}
-
- if (req_info) {
- BT_DBG("Remove unhandled req_info %s", address);
- gatt_server_requests = g_slist_remove(gatt_server_requests, req_info);
- }
-
- return;
}
void _bt_get_adv_handle_from_instance(int server_inst, int *adv_handle)