|
@@ -309,7 +309,7 @@ wlan_peer_update_tx_rate_stats(struct wlan_soc_rate_stats_ctx *soc_stats_ctx,
|
|
|
stats_ctx = (struct wlan_peer_rate_stats_ctx *)
|
|
|
ppdu_user->cookie;
|
|
|
|
|
|
- if (qdf_unlikely(!ppdu_user->tx_ratekbps ||
|
|
|
+ if (qdf_unlikely(!ppdu_user->tx_ratekbps || !ppdu_user->rix ||
|
|
|
ppdu_user->rix > DP_RATE_TABLE_SIZE)) {
|
|
|
continue;
|
|
|
}
|
|
@@ -321,11 +321,6 @@ wlan_peer_update_tx_rate_stats(struct wlan_soc_rate_stats_ctx *soc_stats_ctx,
|
|
|
continue;
|
|
|
}
|
|
|
|
|
|
- if (qdf_unlikely(!ppdu_user->tx_ratekbps || !ppdu_user->rix ||
|
|
|
- ppdu_user->rix > DP_RATE_TABLE_SIZE)) {
|
|
|
- continue;
|
|
|
- }
|
|
|
-
|
|
|
tx_stats = &stats_ctx->tx;
|
|
|
RATE_STATS_LOCK_ACQUIRE(&tx_stats->lock);
|
|
|
|