diff options
Diffstat (limited to 'plugins/wifi.c')
-rwxr-xr-x | plugins/wifi.c | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/plugins/wifi.c b/plugins/wifi.c index 82168162..96c84b13 100755 --- a/plugins/wifi.c +++ b/plugins/wifi.c @@ -5233,7 +5233,7 @@ static void network_changed(GSupplicantNetwork *network, const char *property) calculate_strength(network)); update_needed = true; } -#if defined TIZEN_EXT +#if defined TIZEN_EXT && defined TIZEN_EXT_INS else if (g_str_equal(property, "LastConnectedBSSID")) { const char *ident, *group; char *service_ident; @@ -5256,7 +5256,10 @@ static void network_changed(GSupplicantNetwork *network, const char *property) g_supplicant_network_get_last_connected_bssid(network)); update_needed = true; - } else if (g_str_equal(property, "UpdateAssocReject")) { + } +#endif /* defined TIZEN_EXT && defined TIZEN_EXT_INS */ +#if defined TIZEN_EXT + else if (g_str_equal(property, "UpdateAssocReject")) { connman_network_set_assoc_reject_table(connman_network, g_supplicant_network_get_assoc_reject_table(network)); update_needed = true; @@ -6129,7 +6132,7 @@ static int tech_set_regdom(struct connman_technology *technology, const char *al return g_supplicant_set_country(alpha2, regdom_callback, NULL); } -#if defined TIZEN_EXT +#if defined TIZEN_EXT && defined TIZEN_EXT_INS static void supp_ins_init(void) { const char *string; @@ -6154,7 +6157,7 @@ static void supp_ins_init(void) connman_setting_get_int("INSSignalLevel3_24GHz") ); } -#endif +#endif /* defined TIZEN_EXT && defined TIZEN_EXT_INS */ static struct connman_technology_driver tech_driver = { .name = "wifi", @@ -6190,9 +6193,9 @@ static int wifi_init(void) failed_bssids = g_hash_table_new_full(g_str_hash, g_str_equal, g_free, NULL); #endif -#if defined TIZEN_EXT +#if defined TIZEN_EXT && defined TIZEN_EXT_INS supp_ins_init(); -#endif +#endif /* defined TIZEN_EXT && defined TIZEN_EXT_INS */ return 0; } |