From: Jouni Malinen Date: Sun, 23 Oct 2011 19:45:27 +0000 (+0300) Subject: mac80211_hwsim: Claim support for TDLS X-Git-Tag: Ubuntu-5.0.0-8.9~17060^2~545^2~144 X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=43bc3e89cf3d2ad2ec827212ef0e69a21c0421b9;p=mirror_ubuntu-disco-kernel.git mac80211_hwsim: Claim support for TDLS Signed-off-by: Jouni Malinen Signed-off-by: John W. Linville --- diff --git a/drivers/net/wireless/mac80211_hwsim.c b/drivers/net/wireless/mac80211_hwsim.c index 68455a2307cb..477100d0b117 100644 --- a/drivers/net/wireless/mac80211_hwsim.c +++ b/drivers/net/wireless/mac80211_hwsim.c @@ -1747,6 +1747,8 @@ static int __init init_mac80211_hwsim(void) IEEE80211_HW_SUPPORTS_DYNAMIC_SMPS | IEEE80211_HW_AMPDU_AGGREGATION; + hw->wiphy->flags |= WIPHY_FLAG_SUPPORTS_TDLS; + /* 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);