aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJérôme Pouiller <[email protected]>2020-04-27 15:40:22 +0200
committerGreg Kroah-Hartman <[email protected]>2020-04-28 14:14:27 +0200
commitbfe2eb23d96ed23cb6c82cdcfcc6d79cee497367 (patch)
tree6dddc5eab188c9f6ae0bafc7206fe3533d35f3d8
parent5f041538e2761c2d42600394e0e60e1967d1d41c (diff)
staging: wfx: fix highest Rx value declared in ieee80211_supported_band
The highest Rx value declared in ieee80211_supported_band had two problems: 1. The value should be little endian 2. ShortGI was not taken into account. So value should be 72 instead of 65. Signed-off-by: Jérôme Pouiller <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
-rw-r--r--drivers/staging/wfx/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/wfx/main.c b/drivers/staging/wfx/main.c
index 1093584373ad..742a286c9207 100644
--- a/drivers/staging/wfx/main.c
+++ b/drivers/staging/wfx/main.c
@@ -106,7 +106,7 @@ static const struct ieee80211_supported_band wfx_band_2ghz = {
.ampdu_density = IEEE80211_HT_MPDU_DENSITY_NONE,
.mcs = {
.rx_mask = { 0xFF }, // MCS0 to MCS7
- .rx_highest = 65,
+ .rx_highest = cpu_to_le16(72),
.tx_params = IEEE80211_HT_MCS_TX_DEFINED,
},
},