LE CoC: Fix LE_L2CAP socket connection timeout issue 43/273343/1
authorAnuj Jain <anuj01.jain@samsung.com>
Mon, 4 Apr 2022 12:53:02 +0000 (18:23 +0530)
committerAnuj Jain <anuj01.jain@samsung.com>
Mon, 4 Apr 2022 13:06:09 +0000 (18:36 +0530)
This patch fixes the issue of non occurence of authentication
pop-up upon connection request by client.

Change-Id: Iea5e1807c6c577baf8fe9b43da4053df97bbbc0b
Signed-off-by: Anuj Jain <anuj01.jain@samsung.com>
bt-oal/bluez_hal/src/bt-hal-l2cap-le-dbus-handler.c

index d43b254..0c35f19 100644 (file)
@@ -541,6 +541,7 @@ int _bt_hal_dbus_handler_l2cap_le_connect(unsigned char *addr, int psm, int *soc
 
        memset(&profile_info, 0x00, sizeof(bt_hal_l2cap_le_profile_info_t));
 
 
        memset(&profile_info, 0x00, sizeof(bt_hal_l2cap_le_profile_info_t));
 
+       profile_info.authentication = TRUE;
        profile_info.obj_path = cb_data->obj_path;
        profile_info.psm = psm;
 
        profile_info.obj_path = cb_data->obj_path;
        profile_info.psm = psm;