cfg80211 API for channels/bitrates, mac80211 and driver conversion
[GitHub/LineageOS/android_kernel_samsung_universal7580.git] / net / mac80211 / ieee80211_iface.c
index 92f1eb2da31152dfc0bdd35e5f5cb9dfb7ccc1dc..27cee580f9f14b441cd7f3f4baf135723577576d 100644 (file)
@@ -118,6 +118,8 @@ void ieee80211_if_set_type(struct net_device *dev, int type)
        sdata->bss = NULL;
        sdata->vif.type = type;
 
+       sdata->basic_rates = 0;
+
        switch (type) {
        case IEEE80211_IF_TYPE_WDS:
                /* nothing special */