Peter Seiderer <ps.report@xxxxxxx> writes: > Stop reading (and copying) from ieee80211_tx_rate to ath_tx_info.rates > after list end tag (count == 0, idx < 0), prevents copying of garbage > to card registers. > > Note: no need to write to the remaining ath_tx_info.rates entries > as the complete ath_tx_info struct is already initialized to zero from > both call sites. > > Signed-off-by: Peter Seiderer <ps.report@xxxxxxx> Acked-by: Toke Høiland-Jørgensen <toke@xxxxxxx>