802.11: clean up/fix HT support
[deliverable/linux.git] / net / mac80211 / wext.c
index 29c41040c8c92ec1c71061b2ae2afb199a982635..a3af1514124466c86aaeffaca482ece14fb52821 100644 (file)
@@ -147,7 +147,7 @@ static int ieee80211_ioctl_giwname(struct net_device *dev,
        sband = local->hw.wiphy->bands[IEEE80211_BAND_5GHZ];
        if (sband) {
                is_a = 1;
-               is_ht |= sband->ht_info.ht_supported;
+               is_ht |= sband->ht_cap.ht_supported;
        }
 
        sband = local->hw.wiphy->bands[IEEE80211_BAND_2GHZ];
@@ -160,7 +160,7 @@ static int ieee80211_ioctl_giwname(struct net_device *dev,
                        if (sband->bitrates[i].bitrate == 60)
                                is_g = 1;
                }
-               is_ht |= sband->ht_info.ht_supported;
+               is_ht |= sband->ht_cap.ht_supported;
        }
 
        strcpy(name, "IEEE 802.11");
This page took 0.030462 seconds and 5 git commands to generate.