iwlwifi: check short GI support per-station rather than globally
[deliverable/linux.git] / drivers / net / wireless / iwlwifi / iwl-core.c
index 104fd95dfad6ba0424d185ef4e14ef82925beeee..b845cf30e1bc3d2a530d14ff5078ef129a762562 100644 (file)
@@ -2391,11 +2391,6 @@ static void iwl_ht_conf(struct iwl_priv *priv,
        }
        ht_conf = &sta->ht_cap;
 
-       if (ht_conf->cap & IEEE80211_HT_CAP_SGI_20)
-               iwl_conf->sgf |= HT_SHORT_GI_20MHZ;
-       if (ht_conf->cap & IEEE80211_HT_CAP_SGI_40)
-               iwl_conf->sgf |= HT_SHORT_GI_40MHZ;
-
        iwl_conf->is_green_field = !!(ht_conf->cap & IEEE80211_HT_CAP_GRN_FLD);
 
        iwl_conf->sm_ps = (u8)((ht_conf->cap & IEEE80211_HT_CAP_SM_PS) >> 2);
This page took 0.025144 seconds and 5 git commands to generate.