diff options
author | hyunuktak <hyunuk.tak@samsung.com> | 2016-06-28 16:55:17 +0900 |
---|---|---|
committer | hyunuktak <hyunuk.tak@samsung.com> | 2016-06-28 16:55:21 +0900 |
commit | 7715d834e4be90b050c1b5d9421d6317894ddcae (patch) | |
tree | 2c851d698106ffe39ae195099b7907b1731d4481 /src | |
parent | 267b65463cd3fd93a1ed245b527fca14fe469f07 (diff) | |
download | connman-7715d834e4be90b050c1b5d9421d6317894ddcae.tar.gz connman-7715d834e4be90b050c1b5d9421d6317894ddcae.tar.bz2 connman-7715d834e4be90b050c1b5d9421d6317894ddcae.zip |
Modify to get rsn mode using pairwisesubmit/tizen/20160628.112647accepted/tizen/wearable/20160629.021326accepted/tizen/tv/20160629.021220accepted/tizen/mobile/20160629.021329accepted/tizen/ivi/20160629.021304accepted/tizen/common/20160628.141818
Change-Id: Icb3942835130528c4d61d427ee1891d88cc1ac3b
Signed-off-by: hyunuktak <hyunuk.tak@samsung.com>
Diffstat (limited to 'src')
-rwxr-xr-x | src/network.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/network.c b/src/network.c index c3976040..d20385f2 100755 --- a/src/network.c +++ b/src/network.c @@ -99,7 +99,7 @@ struct connman_network { unsigned int isHS20AP; unsigned int keymgmt; char *keymgmt_type; - bool rsn_selected; + bool rsn_mode; int disconnect_reason; #endif } wifi; @@ -1913,10 +1913,10 @@ const char *connman_network_get_enc_mode(struct connman_network *network) return (const char *)network->wifi.encryption_mode; } -int connman_network_set_rsn_selected(struct connman_network *network, - bool rsn_selected) +int connman_network_set_rsn_mode(struct connman_network *network, + bool rsn_mode) { - network->wifi.rsn_selected = rsn_selected; + network->wifi.rsn_mode = rsn_mode; return 0; } @@ -2210,7 +2210,7 @@ const char *connman_network_get_string(struct connman_network *network, return network->wifi.mode; else if (g_str_equal(key, "WiFi.Security")) #if defined TIZEN_EXT - if (network->wifi.rsn_selected != true || + if (network->wifi.rsn_mode != true || g_str_equal(network->wifi.security, "ieee8021x")) return network->wifi.security; else |