Change WPA security type for hidden AP 30/246230/1 accepted/tizen/unified/20201029.124900 submit/tizen/20201028.023046
authorhyunuk.tak <hyunuk.tak@samsung.com>
Tue, 27 Oct 2020 07:01:43 +0000 (16:01 +0900)
committerhyunuk.tak <hyunuk.tak@samsung.com>
Tue, 27 Oct 2020 07:01:43 +0000 (16:01 +0900)
Change-Id: Idbcfcbc45483c3e262bb96890090d1de1b6cc443

src/wifi_internal.c

index 871f1e3..ddc70dd 100755 (executable)
@@ -2032,6 +2032,10 @@ int _wifi_get_hidden_aps(wifi_manager_h wifi, const char *essid,
                return WIFI_MANAGER_ERROR_NONE; //LCOV_EXCL_LINE
        }
 
+       if (sec_type == WIFI_MANAGER_SECURITY_TYPE_WPA2_PSK ||
+               sec_type == WIFI_MANAGER_SECURITY_TYPE_WPA_FT_PSK)
+               sec_type = WIFI_MANAGER_SECURITY_TYPE_WPA_PSK;
+
        for (list = wifi_handle->profile_iterator; list; list = list->next) {
                net_profile_info_s *prof_info = (net_profile_info_s *)list->data;
                switch (prof_info->security_info.sec_mode) {