staging: wfx: fix error names

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>
This commit is contained in:
Jérôme Pouiller
2021-09-13 15:01:50 +02:00
committed by Greg Kroah-Hartman
parent f22f9fdfd5
commit cbba71c22c

View 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;
}
}