mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-19 02:04:19 +08:00
mac80211_hwsim: Report driver as MFP capable
mac80211_hwsim has no problems with MFP, so report it as MFP capable. Signed-off-by: Jouni Malinen <jouni.malinen@atheros.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:
parent
0ced0e176a
commit
fa77533e2e
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user