> - tmp += sizeof(struct wmi_peer_stats);
> + if (test_bit(ATH10K_FW_FEATURE_WMI_10X,
> + ar->fw_features)) {
> + s->peer_rx_rate =
> + __le32_to_cpu(peer_stats->peer_rx_rate);
> + tmp += sizeof(struct wmi_peer_stats_10x);
> +
Oops, additional space.
Tested and working for me.
----
Chun-Yeow