From: Jérôme Pouiller Date: Mon, 13 Sep 2021 13:01:50 +0000 (+0200) Subject: staging: wfx: fix error names X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=cbba71c22cd0ffccd8627316ab7cad1624d110f5;p=linux.git staging: wfx: fix error names ENOTSUP is an alias of EOPNOTSUPP. However, EOPNOTSUPP is preferred. Signed-off-by: Jérôme Pouiller Link: https://lore.kernel.org/r/20210913130203.1903622-20-Jerome.Pouiller@silabs.com Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/wfx/sta.c b/drivers/staging/wfx/sta.c index 5f2f8900ce998..1e8d05c4f2dae 100644 --- a/drivers/staging/wfx/sta.c +++ b/drivers/staging/wfx/sta.c @@ -674,7 +674,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; } }