Modify the map agent for gtest
[platform/core/connectivity/bluetooth-agent.git] / map-agent / bluetooth_map_sms.c
index cb8670b..3e918e0 100644 (file)
@@ -728,7 +728,7 @@ static char *__bt_prepare_msg_bmseg(msg_struct_t msg_info, gboolean attach,
                                        msg_body, BT_MAP_MSG_BODY_MAX);
                if (ret == MSG_SUCCESS) {
                        int msg_pdu_len = 0;
-                       msg_pdu = __bt_get_sms_pdu_from_msg_data(addr_value,
+                       msg_pdu = _bt_get_sms_pdu_from_msg_data(addr_value,
                                                        msg_body, dptime,
                                                        &msg_pdu_len);
                        if (msg_pdu) {