|
@@ -3150,8 +3150,12 @@ static int __wlan_hdd_cfg80211_get_station(struct wiphy *wiphy,
|
|
|
|
|
|
if (eHDD_LINK_SPEED_REPORT_ACTUAL == pCfg->reportMaxLinkSpeed) {
|
|
if (eHDD_LINK_SPEED_REPORT_ACTUAL == pCfg->reportMaxLinkSpeed) {
|
|
/* Get current rate flags if report actual */
|
|
/* Get current rate flags if report actual */
|
|
- rate_flags =
|
|
|
|
- pAdapter->hdd_stats.ClassA_stat.mcs_rate_flags;
|
|
|
|
|
|
+ /* WMA fails to find mcs_index for legacy tx rates */
|
|
|
|
+ if (mcs_index == INVALID_MCS_IDX && myRate)
|
|
|
|
+ rate_flags = eHAL_TX_RATE_LEGACY;
|
|
|
|
+ else
|
|
|
|
+ rate_flags =
|
|
|
|
+ pAdapter->hdd_stats.ClassA_stat.mcs_rate_flags;
|
|
}
|
|
}
|
|
|
|
|
|
if (mcs_index == INVALID_MCS_IDX)
|
|
if (mcs_index == INVALID_MCS_IDX)
|