summaryrefslogtreecommitdiff
path: root/gsupplicant/supplicant.c
diff options
context:
space:
mode:
authorJaehyun Kim <jeik01.kim@samsung.com>2016-06-10 18:45:13 +0900
committerJaehyun Kim <jeik01.kim@samsung.com>2016-06-10 18:51:30 +0900
commit0e83b35474b8e01ccbaff484665a6f525ecd67fa (patch)
tree03c640f91c826561b3f081de5f83434c47f18142 /gsupplicant/supplicant.c
parentb164f3431bb96a71a465ef53b1f072ac2a9572cb (diff)
downloadconnman-0e83b35474b8e01ccbaff484665a6f525ecd67fa.tar.gz
connman-0e83b35474b8e01ccbaff484665a6f525ecd67fa.tar.bz2
connman-0e83b35474b8e01ccbaff484665a6f525ecd67fa.zip
Add support for WPS2-PSK security type in Security property of service interface
Change-Id: I5531a2e3e45da6b3d4caa6d5df15f54ebc2700d8
Diffstat (limited to 'gsupplicant/supplicant.c')
-rwxr-xr-xgsupplicant/supplicant.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/gsupplicant/supplicant.c b/gsupplicant/supplicant.c
index 834be592..f558afb3 100755
--- a/gsupplicant/supplicant.c
+++ b/gsupplicant/supplicant.c
@@ -1292,6 +1292,18 @@ const char *g_supplicant_network_get_enc_mode(GSupplicantNetwork *network)
return NULL;
}
+
+bool g_supplicant_network_get_rsn_selected(GSupplicantNetwork *network)
+{
+ if (network == NULL || network->best_bss == NULL)
+ return 0;
+
+ if (network->best_bss->rsn_selected)
+ return true;
+ else
+ return false;
+}
+
#endif
static void merge_network(GSupplicantNetwork *network)