Message ID | 20190523104431.8996-2-john@phrozen.org (mailing list archive) |
---|---|
State | Accepted |
Commit | d9a34e89f14896cf9ff30083367fc8d801c413a5 |
Delegated to: | Kalle Valo |
Headers | show |
Series | [1/2] ath11k: add sta_statistics callback | expand |
diff --git a/drivers/net/wireless/ath/ath11k/dp_rx.c b/drivers/net/wireless/ath/ath11k/dp_rx.c index 71d385cf55d7..38cc787671ee 100644 --- a/drivers/net/wireless/ath/ath11k/dp_rx.c +++ b/drivers/net/wireless/ath/ath11k/dp_rx.c @@ -954,7 +954,7 @@ ath11k_update_per_peer_tx_stats(struct ath11k *ar, } arsta->txrate.nss = nss; - arsta->txrate.bw = bw; + arsta->txrate.bw = ath11k_bw_to_mac80211_bw(bw); arsta->tx_info.status.rates[0].flags |= ath11k_bw_to_mac80211_bwflags(bw); memcpy(&arsta->last_txrate, &arsta->txrate, sizeof(struct rate_info));