3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-11-19 11:09:25 +01:00

netdev: set NL80211_ATTR_USE_MFP if mfp is enabled

This commit is contained in:
Rahul Rahul 2016-12-08 08:26:16 -06:00 committed by Denis Kenzior
parent 8bc1b6866f
commit c07addc4bf

View File

@ -1313,6 +1313,12 @@ static struct l_genl_msg *netdev_build_cmd_connect(struct netdev *netdev,
l_genl_msg_append_attr(msg, NL80211_ATTR_CIPHER_SUITE_GROUP,
4, &nl_cipher);
if (hs->mfp) {
bool mfp = true;
l_genl_msg_append_attr(msg, NL80211_ATTR_USE_MFP,
4, &mfp);
}
nl_akm = ie_rsn_akm_suite_to_nl80211(hs->akm_suite);
if (nl_akm)
l_genl_msg_append_attr(msg, NL80211_ATTR_AKM_SUITES,