mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-28 11:18:45 +07:00
rsi: update autorate request command frame
When Short Gaurd Interval is enabled bit 9 is set in rate. Otherwise it should not be set. Added missing 'else' case in this patch. Signed-off-by: Prameela Rani Garnepudi <prameela.j04cs@gmail.com> Signed-off-by: Amitkumar Karwar <amit.karwar@redpinesignals.com> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
This commit is contained in:
parent
2a58900bf5
commit
b3115e8a42
@ -1199,6 +1199,9 @@ static int rsi_send_auto_rate_request(struct rsi_common *common)
|
|||||||
conf_is_ht40(&common->priv->hw->conf))
|
conf_is_ht40(&common->priv->hw->conf))
|
||||||
auto_rate->supported_rates[ii++] =
|
auto_rate->supported_rates[ii++] =
|
||||||
cpu_to_le16(rsi_mcsrates[kk] | BIT(9));
|
cpu_to_le16(rsi_mcsrates[kk] | BIT(9));
|
||||||
|
else
|
||||||
|
auto_rate->supported_rates[ii++] =
|
||||||
|
cpu_to_le16(rsi_mcsrates[kk]);
|
||||||
auto_rate->supported_rates[ii] =
|
auto_rate->supported_rates[ii] =
|
||||||
cpu_to_le16(rsi_mcsrates[kk--]);
|
cpu_to_le16(rsi_mcsrates[kk--]);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user