mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-10 22:40:54 -04:00
qtnfmac: support EBUSY errcode for QLINK protocol
Add support of EBUSY error code for remote procedures over QLINK protocol. Signed-off-by: Andrey Shevchenko <ashevchenko@quantenna.com> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
This commit is contained in:
parent
1a0f547831
commit
126824f5ce
2 changed files with 3 additions and 0 deletions
|
|
@ -72,6 +72,8 @@ static int qtnf_cmd_resp_result_decode(enum qlink_cmd_result qcode)
|
|||
return -EADDRINUSE;
|
||||
case QLINK_CMD_RESULT_EADDRNOTAVAIL:
|
||||
return -EADDRNOTAVAIL;
|
||||
case QLINK_CMD_RESULT_EBUSY:
|
||||
return -EBUSY;
|
||||
default:
|
||||
return -EFAULT;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -733,6 +733,7 @@ enum qlink_cmd_result {
|
|||
QLINK_CMD_RESULT_EALREADY,
|
||||
QLINK_CMD_RESULT_EADDRINUSE,
|
||||
QLINK_CMD_RESULT_EADDRNOTAVAIL,
|
||||
QLINK_CMD_RESULT_EBUSY,
|
||||
};
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Reference in a new issue