Fix build warnings 44/243944/1
authorJaehyun Kim <jeik01.kim@samsung.com>
Fri, 11 Sep 2020 08:29:38 +0000 (17:29 +0900)
committerJaehyun Kim <jeik01.kim@samsung.com>
Fri, 11 Sep 2020 08:29:38 +0000 (17:29 +0900)
Change-Id: I43c65427f5b6e0eb003ac3c17c012cd9b7db0f76
Signed-off-by: Jaehyun Kim <jeik01.kim@samsung.com>
plugins/wifi.c
src/service.c
src/technology.c

index a1da419..d532e93 100755 (executable)
@@ -3397,7 +3397,7 @@ static void connect_callback(int result, GSupplicantInterface *interface,
        DBG("network %p result %d", network, result);
 
 #if defined TIZEN_EXT
-       char *ifname = g_supplicant_interface_get_ifname(interface);
+       const char *ifname = g_supplicant_interface_get_ifname(interface);
        set_connman_bssid(RESET_BSSID, NULL, ifname);
 
        for (list = iface_list; list; list = list->next) {
index b130888..da60efc 100755 (executable)
@@ -6356,7 +6356,7 @@ static bool auto_connect_service(GList *services,
        bool autoconnecting = false;
        GList *list;
 #if defined TIZEN_EXT
-       GList *wifi_ignore = NULL;
+       GSList *wifi_ignore = NULL;
 #endif
 
        DBG("preferred %d sessions %d reason %s", preferred, active_count,
index e9e4cd6..39b0cfa 100644 (file)
@@ -1302,7 +1302,7 @@ static void reply_scan_pending_device(
        dbus_bool_t status = 0;
        connman_scan_type_e scan_type = CONNMAN_SCAN_TYPE_UNKNOWN;
 
-       DBG("technology %p ifname %d count %d", technology, ifname, count);
+       DBG("technology %p ifname %s count %d", technology, ifname, count);
 
        list = technology->scan_pending;