ath9k: Add support for multiple secondary virtual wiphys
[safe/jmp/linux-2.6] / drivers / net / wireless / mac80211_hwsim.c
index f83d69e..fce49ba 100644 (file)
@@ -779,6 +779,8 @@ static int __init init_mac80211_hwsim(void)
                        BIT(NL80211_IFTYPE_MESH_POINT);
                hw->ampdu_queues = 1;
 
+               hw->flags = IEEE80211_HW_MFP_CAPABLE;
+
                /* ask mac80211 to reserve space for magic */
                hw->vif_data_size = sizeof(struct hwsim_vif_priv);
                hw->sta_data_size = sizeof(struct hwsim_sta_priv);