diff options
-rw-r--r-- | net/mac80211/rc80211_minstrel_ht.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/mac80211/rc80211_minstrel_ht.c b/net/mac80211/rc80211_minstrel_ht.c index b5ace243546c..a16694bb634b 100644 --- a/net/mac80211/rc80211_minstrel_ht.c +++ b/net/mac80211/rc80211_minstrel_ht.c | |||
@@ -636,7 +636,7 @@ minstrel_ht_update_caps(void *priv, struct ieee80211_supported_band *sband, | |||
636 | int i; | 636 | int i; |
637 | 637 | ||
638 | /* fall back to the old minstrel for legacy stations */ | 638 | /* fall back to the old minstrel for legacy stations */ |
639 | if (sta && !sta->ht_cap.ht_supported) { | 639 | if (!sta->ht_cap.ht_supported) { |
640 | msp->is_ht = false; | 640 | msp->is_ht = false; |
641 | memset(&msp->legacy, 0, sizeof(msp->legacy)); | 641 | memset(&msp->legacy, 0, sizeof(msp->legacy)); |
642 | msp->legacy.r = msp->ratelist; | 642 | msp->legacy.r = msp->ratelist; |