From: Wootak Jung Date: Sun, 23 Apr 2023 23:35:41 +0000 (+0900) Subject: Fix wrong return value of model name X-Git-Tag: accepted/tizen/unified/20230427.155823^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ed103a1660c814a62fe50689155e9f9b870e3d11;hp=d4860b851f482791be3cc85d1ceb449772e3fac3;p=platform%2Fcore%2Fconnectivity%2Fbluetooth-agent.git Fix wrong return value of model name Change-Id: Ic607a8e0cca95a564174eb150f230fef7cd1ddf0 Signed-off-by: Wootak Jung --- 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);