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/7.0/unified/20230426.045631^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b4637e72555bb822805f7a3ffcb8cd1785278593;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);