From ed103a1660c814a62fe50689155e9f9b870e3d11 Mon Sep 17 00:00:00 2001 From: Wootak Jung Date: Mon, 24 Apr 2023 08:35:41 +0900 Subject: [PATCH 1/1] Fix wrong return value of model name Change-Id: Ic607a8e0cca95a564174eb150f230fef7cd1ddf0 Signed-off-by: Wootak Jung --- include/bluetooth-agent-profile.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/bluetooth-agent-profile.h b/include/bluetooth-agent-profile.h index 011ab67..17e1d63 100644 --- a/include/bluetooth-agent-profile.h +++ b/include/bluetooth-agent-profile.h @@ -108,7 +108,7 @@ static inline tizen_model_name_t get_tizen_model_name() char *modelName = NULL; if (__builtin_expect(model_name != _MODEL_UNKNOWN, 1)) - return profile; + return model_name; system_info_get_platform_string("http://tizen.org/system/model_name", &modelName); -- 2.7.4