Add a condition for NET_ERR_ALREADY_EXISTS in __convert_to_ap_error_type 21/199721/1 accepted/tizen/unified/20190214.154057 submit/tizen/20190214.084704
authorCheoleun Moon <chleun.moon@samsung.com>
Thu, 14 Feb 2019 08:37:32 +0000 (17:37 +0900)
committerCheoleun Moon <chleun.moon@samsung.com>
Thu, 14 Feb 2019 08:37:37 +0000 (17:37 +0900)
Change-Id: Ic155a6585d4125fdf34ce74e64d2f667387f4f63
Signed-off-by: Cheoleun Moon <chleun.moon@samsung.com>
src/wifi_internal.c

index 277d1f4..ca840cd 100755 (executable)
@@ -60,6 +60,7 @@ static wifi_manager_error_e __convert_to_ap_error_type(net_err_e err_type)
        case NET_ERR_NO_ACTIVE_CONNECTIONS:
                return WIFI_MANAGER_ERROR_NO_CONNECTION;
        case NET_ERR_ACTIVE_CONNECTION_EXISTS:
+       case NET_ERR_ALREADY_EXISTS:
                return WIFI_MANAGER_ERROR_ALREADY_EXISTS;
 /*Connection Failure Error Codes*/
        case NET_ERR_CONNECTION_OUT_OF_RANGE: