Return correct EAP type for AKA PRIME, FAST and PWD EAP types. 53/175453/1
authorAbhishek Sansanwal <abhishek.s94@samsung.com>
Tue, 10 Apr 2018 09:33:01 +0000 (15:03 +0530)
committerAbhishek Sansanwal <abhishek.s94@samsung.com>
Tue, 10 Apr 2018 09:34:27 +0000 (15:04 +0530)
Signed-off-by: Abhishek Sansanwal <abhishek.s94@samsung.com>
Change-Id: Ic4adc1ba7fbb6355145d7ad0babf3cb915b3945b

src/wifi_ap.c

index 3df657e..a3f496b 100755 (executable)
@@ -2117,6 +2117,15 @@ EXPORT_API int wifi_manager_ap_get_eap_type(wifi_manager_ap_h ap,
        case WLAN_SEC_EAP_TYPE_AKA:
                *type = WIFI_MANAGER_EAP_TYPE_AKA;
                break;
+       case WLAN_SEC_EAP_TYPE_AKA_PRIME:
+               *type = WIFI_MANAGER_EAP_TYPE_AKA_PRIME;
+               break;
+       case WLAN_SEC_EAP_TYPE_FAST:
+               *type = WIFI_MANAGER_EAP_TYPE_FAST;
+               break;
+       case WLAN_SEC_EAP_TYPE_PWD:
+               *type = WIFI_MANAGER_EAP_TYPE_PWD;
+               break;
        default:
                __NETWORK_CAPI_FUNC_EXIT__;
                return WIFI_MANAGER_ERROR_OPERATION_FAILED;