Modify authorize to FALSE in l2cap le connection 13/279413/1
authorWootak Jung <wootak.jung@samsung.com>
Tue, 9 Aug 2022 04:19:22 +0000 (13:19 +0900)
committerWootak Jung <wootak.jung@samsung.com>
Tue, 9 Aug 2022 04:19:22 +0000 (13:19 +0900)
Change-Id: Icf4d8a51acc444765a9b61224a3a5d3fd26bfa65

bt-oal/bluez_hal/src/bt-hal-l2cap-le-dbus-handler.c

index 0c35f199ce701ba0842190c3d2fb3d37f84865f8..4c7667f17933d06f7f72dc3c5c3ac8607478528c 100644 (file)
@@ -541,7 +541,8 @@ 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));
 
-       profile_info.authentication = TRUE;
+       profile_info.authentication = FALSE;
+       profile_info.authorization = FALSE;
        profile_info.obj_path = cb_data->obj_path;
        profile_info.psm = psm;
 
@@ -723,8 +724,8 @@ static int __listen_l2cap_le_server(l2cap_le_server_data_t *server_data)
 
        memset(&profile_info, 0x00, sizeof(bt_hal_l2cap_le_profile_info_t));
 
-       profile_info.authentication = TRUE;
-       profile_info.authorization = TRUE;
+       profile_info.authentication = FALSE;
+       profile_info.authorization = FALSE;
        profile_info.obj_path = server_data->obj_path;
        profile_info.psm = server_data->psm;