projects
/
platform
/
upstream
/
connman.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Do not include related code if INS is not enabled
[platform/upstream/connman.git]
/
src
/
network.c
diff --git
a/src/network.c
b/src/network.c
index
580f859
..
ce107cc
100755
(executable)
--- a/
src/network.c
+++ b/
src/network.c
@@
-58,11
+58,13
@@
static DBusConnection *connection;
#define DHCP_RETRY_TIMEOUT 10
#define DHCP_RETRY_TIMEOUT 10
-#if defined TIZEN_EXT
+#if defined TIZEN_EXT
_INS
static unsigned char invalid_bssid[WIFI_BSSID_LEN_MAX] = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00
};
static unsigned char invalid_bssid[WIFI_BSSID_LEN_MAX] = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00
};
+#endif
+#if defined TIZEN_EXT
static GHashTable *dhcp_status_list = NULL;
#endif
static GHashTable *dhcp_status_list = NULL;
#endif
@@
-1365,6
+1367,8
@@
static void network_destruct(struct connman_network *network)
#if defined TIZEN_EXT
g_slist_free_full(network->wifi.vsie_list, g_free);
g_slist_free_full(network->wifi.bssid_list, g_free);
#if defined TIZEN_EXT
g_slist_free_full(network->wifi.vsie_list, g_free);
g_slist_free_full(network->wifi.bssid_list, g_free);
+#endif
+#if defined TIZEN_EXT_INS
g_hash_table_destroy(network->wifi.assoc_reject_table);
#endif
g_free(network->path);
g_hash_table_destroy(network->wifi.assoc_reject_table);
#endif
g_free(network->path);
@@
-2746,6
+2750,7
@@
unsigned int connman_network_get_max_bssid_count(struct connman_network *network
return network->wifi.max_bssid_count;
}
return network->wifi.max_bssid_count;
}
+#if defined TIZEN_EXT_INS
int connman_network_set_last_connected_bssid(struct connman_network *network,
const unsigned char *bssid)
{
int connman_network_set_last_connected_bssid(struct connman_network *network,
const unsigned char *bssid)
{
@@
-2786,6
+2791,7
@@
GHashTable *connman_network_get_assoc_reject_table(struct connman_network *netwo
return network->wifi.assoc_reject_table;
}
return network->wifi.assoc_reject_table;
}
+#endif /* defined TIZEN_EXT_INS */
__time_t connman_network_get_roam_scan_time(struct connman_network *network)
{
__time_t connman_network_get_roam_scan_time(struct connman_network *network)
{