mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-24 13:44:26 -04:00
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:
parent
0d0cce8057
commit
03e69b3098
1 changed files with 2 additions and 0 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue