qcacmn: Translate QDF pending status to Linux error

Translate QDF pending status to Linux error in progress
code.

Change-Id: I3a8d9d17cb4b72cdfbb6d1f1c5adecd1679fe816
CRs-Fixed: 2200900
This commit is contained in:
Sravan Kumar Kairam
2018-03-06 18:35:48 +05:30
committed by nshrivas
parent 0d0cce8057
commit 03e69b3098

View File

@@ -143,6 +143,8 @@ static inline int __qdf_status_to_os_return(QDF_STATUS status)
return -EIO;
case QDF_STATUS_E_NETRESET:
return -ENETRESET;
case QDF_STATUS_E_PENDING:
return -EINPROGRESS;
default:
return -EPERM;
}