From: Benjamin Berg Date: Wed, 1 Jan 2025 05:05:30 +0000 (+0200) Subject: wifi: mac80211: fix typo in HE MCS check X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=29968432874bb03f7dcaea602efb7d00e7c33b0c;p=users%2Fjedix%2Flinux-maple.git wifi: mac80211: fix typo in HE MCS check It printed the AP RX MCS value instead of the TX one. Signed-off-by: Benjamin Berg Reviewed-by: Johannes Berg Signed-off-by: Miri Korenblit Link: https://patch.msgid.link/20250101070249.743c7c1914f4.I1e5888ac6c8324d078fe91d01da31daa76d0e328@changeid Signed-off-by: Johannes Berg --- diff --git a/net/mac80211/mlme.c b/net/mac80211/mlme.c index 2318cb0789df..f663f5961ab1 100644 --- a/net/mac80211/mlme.c +++ b/net/mac80211/mlme.c @@ -419,7 +419,7 @@ ieee80211_verify_peer_he_mcs_support(struct ieee80211_sub_if_data *sdata, ap_rx_val < ap_op_val || ap_tx_val < ap_op_val) { sdata_info(sdata, "Invalid rates for %d Nss, rx %d, tx %d oper %d, disable HE\n", - nss, ap_rx_val, ap_rx_val, ap_op_val); + nss, ap_rx_val, ap_tx_val, ap_op_val); return false; } }