Add lte attach apn logic
[platform/core/telephony/tel-plugin-packetservice.git] / src / ps_master.c
index c3b837c..2c3e4f3 100644 (file)
@@ -21,6 +21,7 @@
  */
 
 #include <unistd.h>
+#include <system_info.h>
 
 #include "ps_common.h"
 #include "ps_context.h"
@@ -330,6 +331,9 @@ ps_master_t *_ps_master_create_master(GDBusConnection *conn, TcorePlugin *p)
        new_master->modems = g_hash_table_new_full(g_str_hash, g_str_equal, g_free, __remove_modem_handler);
        new_master->strg = tcore_server_find_storage(tcore_plugin_ref_server(p), "vconf");
 
+       system_info_get_platform_bool("tizen.org/feature/network.telephony.service.lte", &new_master->b_lte_supported);
+       info("b_lte_supported: [%s]", new_master->b_lte_supported ? "TRUE" : "FALSE");
+
        /*Setting Up the call backs for the interface*/
        if (!ps_master_setup_interface(new_master)) {
                g_free(new_master);