]> Pileus Git - ~andy/linux/blobdiff - net/mac80211/main.c
mac80211: support separate default keys
[~andy/linux] / net / mac80211 / main.c
index 973fee9f7d69dff18a6ef3eb0b24c2cd199bebad..ae656b6e3bc26699190e955e0ee03015d21eb364 100644 (file)
@@ -519,7 +519,8 @@ struct ieee80211_hw *ieee80211_alloc_hw(size_t priv_data_len,
 
        wiphy->flags |= WIPHY_FLAG_NETNS_OK |
                        WIPHY_FLAG_4ADDR_AP |
-                       WIPHY_FLAG_4ADDR_STATION;
+                       WIPHY_FLAG_4ADDR_STATION |
+                       WIPHY_FLAG_SUPPORTS_SEPARATE_DEFAULT_KEYS;
        wiphy->privid = mac80211_wiphy_privid;
 
        wiphy->bss_priv_size = sizeof(struct ieee80211_bss);