From: Dohyun Pyun Date: Mon, 4 Jul 2022 00:06:24 +0000 (+0900) Subject: Use the different key file with kernel for certification X-Git-Tag: accepted/tizen/6.5/unified/20230719.174801~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=59b3841c1acd51b68996827af6f3785305cbf63d;p=platform%2Fupstream%2Fbluez.git Use the different key file with kernel for certification Change-Id: I0ad8a2b7013a4b3776c019f2dabea0c5b229c428 Signed-off-by: Dohyun Pyun --- diff --git a/profile.h b/profile.h index 8209fd5c..fbdfd05b 100755 --- a/profile.h +++ b/profile.h @@ -31,10 +31,9 @@ #define TYPE_FIELD "string" #define FEATURE_TAG "platform" #define MODEL_CONFIG_TAG "model-config" -#define CERTI_STACK_FILE "/var/lib/bluetooth/stack_test" +#define CERTI_STACK_FILE "/var/lib/bluetooth/bluez_stack_test" #define CERTI_PROFILE_FILE "/var/lib/bluetooth/profile_test" - typedef enum { TIZEN_PROFILE_UNKNOWN = 0, TIZEN_PROFILE_MOBILE = 0x1, diff --git a/src/adapter.c b/src/adapter.c index aa84156a..919d7d28 100644 --- a/src/adapter.c +++ b/src/adapter.c @@ -15564,7 +15564,7 @@ static void read_info_complete(uint8_t status, uint16_t length, if (missing_settings & MGMT_SETTING_SECURE_CONN) set_mode(adapter, MGMT_OP_SET_SECURE_CONN, 0x01); #else - if (TIZEN_FEATURE_ROBOT_REFERENCE) { + if (TIZEN_FEATURE_ROBOT_REFERENCE && !TIZEN_FEATURE_BLUEZ_STACK_CERTIFICATION) { DBG("Do not set secure conn setting in robot"); } else { if (missing_settings & MGMT_SETTING_SECURE_CONN)