diff options
author | Beniamino Galvani <bgalvani@redhat.com> | 2019-08-19 15:51:31 +0200 |
---|---|---|
committer | Beniamino Galvani <bgalvani@redhat.com> | 2019-08-26 10:25:00 +0200 |
commit | 73b380622840b12ab417528894172c7172301936 (patch) | |
tree | e835c86c807bf8e160eb5a5c7b67e41469146f78 /src/platform/wifi | |
parent | 6101be0e2eeecda22641692a15b03729f84584b9 (diff) | |
download | NetworkManager-73b380622840b12ab417528894172c7172301936.tar.gz |
wifi: expose IBSS_RSN capability
The new capability indicates whether the device supports WPA2/RSN in
an IBSS (ad-hoc) network.
https://bugzilla.gnome.org/show_bug.cgi?id=757823
Diffstat (limited to 'src/platform/wifi')
-rw-r--r-- | src/platform/wifi/nm-wifi-utils-nl80211.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/platform/wifi/nm-wifi-utils-nl80211.c b/src/platform/wifi/nm-wifi-utils-nl80211.c index 84a93f4f6b..33c4e1d31d 100644 --- a/src/platform/wifi/nm-wifi-utils-nl80211.c +++ b/src/platform/wifi/nm-wifi-utils-nl80211.c @@ -907,6 +907,9 @@ static int nl80211_wiphy_info_handler (struct nl_msg *msg, void *arg) if (tb[NL80211_ATTR_WOWLAN_TRIGGERS_SUPPORTED]) info->can_wowlan = TRUE; + if (tb[NL80211_ATTR_SUPPORT_IBSS_RSN]) + info->caps |= NM_WIFI_DEVICE_CAP_IBSS_RSN; + info->success = TRUE; return NL_SKIP; |