diff mbox series

[v2,1/9] qtnfmac: support EBUSY errcode for QLINK protocol

Message ID 20190114093925.9061-2-sergey.matyukevich.os@quantenna.com (mailing list archive)
State Accepted
Commit 126824f5ce671b4f2d1d01aa1fa7ff4de7174869
Delegated to: Kalle Valo
Headers show
Series qtnfmac: fixes and minor enhancements | expand

Commit Message

Sergey Matyukevich Jan. 14, 2019, 9:39 a.m. UTC
From: Andrey Shevchenko <ashevchenko@quantenna.com>

Add support of EBUSY error code for remote procedures over QLINK protocol.

Signed-off-by: Andrey Shevchenko <ashevchenko@quantenna.com>
---
 drivers/net/wireless/quantenna/qtnfmac/commands.c | 2 ++
 drivers/net/wireless/quantenna/qtnfmac/qlink.h    | 1 +
 2 files changed, 3 insertions(+)

Comments

Kalle Valo Feb. 1, 2019, 12:12 p.m. UTC | #1
Sergey Matyukevich <sergey.matyukevich.os@quantenna.com> wrote:

> From: Andrey Shevchenko <ashevchenko@quantenna.com>
> 
> Add support of EBUSY error code for remote procedures over QLINK protocol.
> 
> Signed-off-by: Andrey Shevchenko <ashevchenko@quantenna.com>

9 patches applied to wireless-drivers-next.git, thanks.

126824f5ce67 qtnfmac: support EBUSY errcode for QLINK protocol
d1365e794eb3 qtnfmac: fix INTx interrupt handling
de624a355d92 qtnfmac: add support for 4addr mode
9fe504a13172 qtnfmac: switch to 32bit values for RTS/FRAG thresholds
f3c8bd46c774 qtnfmac: do not reject retry changes in driver
ff233cb51503 qtnfmac: convert to SPDX license identifiers
23781af74152 qtnfmac: add missing bss record to host scan cache
324b8cad8cfc qtnfmac: remove unused declarations
3844dec0f45d qtnfmac: qtnf_cmd_send_with_reply cleanup
diff mbox series

Patch

diff --git a/drivers/net/wireless/quantenna/qtnfmac/commands.c b/drivers/net/wireless/quantenna/qtnfmac/commands.c
index 659e7649fe22..c2f085589f54 100644
--- a/drivers/net/wireless/quantenna/qtnfmac/commands.c
+++ b/drivers/net/wireless/quantenna/qtnfmac/commands.c
@@ -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;
 	}
diff --git a/drivers/net/wireless/quantenna/qtnfmac/qlink.h b/drivers/net/wireless/quantenna/qtnfmac/qlink.h
index 8d62addea895..f9c7f87afaf8 100644
--- a/drivers/net/wireless/quantenna/qtnfmac/qlink.h
+++ b/drivers/net/wireless/quantenna/qtnfmac/qlink.h
@@ -733,6 +733,7 @@  enum qlink_cmd_result {
 	QLINK_CMD_RESULT_EALREADY,
 	QLINK_CMD_RESULT_EADDRINUSE,
 	QLINK_CMD_RESULT_EADDRNOTAVAIL,
+	QLINK_CMD_RESULT_EBUSY,
 };
 
 /**