staging: wfx: fix error names
authorJérôme Pouiller <jerome.pouiller@silabs.com>
Mon, 13 Sep 2021 13:01:50 +0000 (15:01 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 14 Sep 2021 07:16:33 +0000 (09:16 +0200)
ENOTSUP is an alias of EOPNOTSUPP. However, EOPNOTSUPP is preferred.

Signed-off-by: Jérôme Pouiller <jerome.pouiller@silabs.com>
Link: https://lore.kernel.org/r/20210913130203.1903622-20-Jerome.Pouiller@silabs.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wfx/sta.c

index 5f2f8900ce998dab0cb5eb520f4531d09cbd4b8f..1e8d05c4f2daedc788a6a19cdcd48d92e2fdc931 100644 (file)
@@ -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;
        }
 }