[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20210910160504.1794332-20-Jerome.Pouiller@silabs.com>
Date: Fri, 10 Sep 2021 18:04:52 +0200
From: Jerome Pouiller <Jerome.Pouiller@...abs.com>
To: devel@...verdev.osuosl.org, linux-wireless@...r.kernel.org
Cc: netdev@...r.kernel.org, linux-kernel@...r.kernel.org,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Kalle Valo <kvalo@...eaurora.org>,
"David S . Miller" <davem@...emloft.net>,
Jérôme Pouiller
<jerome.pouiller@...abs.com>
Subject: [PATCH 19/31] staging: wfx: fix error names
From: Jérôme Pouiller <jerome.pouiller@...abs.com>
ENOTSUP is an alias of EOPNOTSUPP. However, EOPNOTSUPP is preferred.
Signed-off-by: Jérôme Pouiller <jerome.pouiller@...abs.com>
---
drivers/staging/wfx/sta.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/staging/wfx/sta.c b/drivers/staging/wfx/sta.c
index 464a67a9b41c..13cb22cf41d7 100644
--- a/drivers/staging/wfx/sta.c
+++ b/drivers/staging/wfx/sta.c
@@ -673,7 +673,7 @@ int wfx_ampdu_action(struct ieee80211_hw *hw,
return 0;
default:
// Leave the firmware doing its business for tx aggregation
- return -ENOTSUPP;
+ return -EOPNOTSUPP;
}
}
--
2.33.0
Powered by blists - more mailing lists