|
@@ -7317,6 +7317,8 @@ wlan_hdd_refill_actual_rate(struct station_info *sinfo,
|
|
|
|
|
|
sinfo->rxrate.nss = link_info->hdd_stats.class_a_stat.rx_nss;
|
|
sinfo->rxrate.nss = link_info->hdd_stats.class_a_stat.rx_nss;
|
|
if (preamble == DOT11_A || preamble == DOT11_B) {
|
|
if (preamble == DOT11_A || preamble == DOT11_B) {
|
|
|
|
+ /* Clear rxrate which may have been set previously */
|
|
|
|
+ qdf_mem_zero(&sinfo->rxrate, sizeof(sinfo->rxrate));
|
|
sinfo->rxrate.legacy =
|
|
sinfo->rxrate.legacy =
|
|
link_info->hdd_stats.class_a_stat.rx_rate;
|
|
link_info->hdd_stats.class_a_stat.rx_rate;
|
|
hdd_debug("Reporting legacy rate %d", sinfo->rxrate.legacy);
|
|
hdd_debug("Reporting legacy rate %d", sinfo->rxrate.legacy);
|