]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - net/mac80211/ht.c
mac80211: restrict aggregation to supported interface modes
[linux-2.6-omap-h63xx.git] / net / mac80211 / ht.c
index 869ea5fd3f51e5db0607eda1fe53760de4df84fa..a49a8a5828bfb7c23dc186d0d5cf75f94c19ec37 100644 (file)
@@ -190,7 +190,8 @@ void ieee80211_send_delba(struct ieee80211_sub_if_data *sdata,
        memset(mgmt, 0, 24);
        memcpy(mgmt->da, da, ETH_ALEN);
        memcpy(mgmt->sa, sdata->dev->dev_addr, ETH_ALEN);
-       if (sdata->vif.type == NL80211_IFTYPE_AP)
+       if (sdata->vif.type == NL80211_IFTYPE_AP ||
+           sdata->vif.type == NL80211_IFTYPE_AP_VLAN)
                memcpy(mgmt->bssid, sdata->dev->dev_addr, ETH_ALEN);
        else
                memcpy(mgmt->bssid, ifsta->bssid, ETH_ALEN);