Searched refs:errorCodeTranslation (Results 1 – 1 of 1) sorted by relevance
191 struct errorCode errorCodeTranslation[] = { variable355 for (i = 0; i < (int)(sizeof(errorCodeTranslation)/ sizeof(errorCode)); i++) { in NanErrorTranslation()356 if (errorCodeTranslation[i].firmwareError == firmwareErrorRecvd) { in NanErrorTranslation()357 pRsp->status = errorCodeTranslation[i].frameworkError; in NanErrorTranslation()358 strlcpy(pRsp->nan_error, errorCodeTranslation[i].nan_error, NAN_ERROR_STR_LEN); in NanErrorTranslation()371 if (i == (int)(sizeof(errorCodeTranslation)/sizeof(errorCode))) { in NanErrorTranslation()384 for (i = 0; i < (int)(sizeof(errorCodeTranslation)/ sizeof(errorCode)); i++) { in NanErrorTranslation()385 if (errorCodeTranslation[i].firmwareError == firmwareErrorRecvd) { in NanErrorTranslation()386 pRspInd->reason = errorCodeTranslation[i].frameworkError; in NanErrorTranslation()387 … strlcpy(pRspInd->nan_reason, errorCodeTranslation[i].nan_error, NAN_ERROR_STR_LEN); in NanErrorTranslation()[all …]