Commit da6134d2 authored by Greg Dietsche's avatar Greg Dietsche Committed by Stanislaw Gruszka
Browse files

iwlegacy: 4965-rs: remove null check on sta in il4965_rs_tx_status

the null check on sta in il4965_rs_tx_status is not necessary

Signed-off-by: default avatarGreg Dietsche <>
Signed-off-by: default avatarStanislaw Gruszka <>
parent 730b4c21
......@@ -991,7 +991,7 @@ il4965_rs_tx_status(void *il_r, struct ieee80211_supported_band *sband,
lq_sta->last_rate_n_flags = tx_rate;
/* See if there's a better rate or modulation mode to try. */
if (sta && sta->supp_rates[sband->band])
if (sta->supp_rates[sband->band])
il4965_rs_rate_scale_perform(il, skb, sta, lq_sta);
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment