StartWifiHotspot: Disable PMF explicitly for the hotspot.

This commit is contained in:
Vibhav Pant
2023-09-10 00:11:10 +05:30
parent 358d01f350
commit 71ba41c14d
@@ -186,13 +186,9 @@ bool NetworkManagerWifiHotspotMedium::StartWifiHotspot(
{"security", "802-11-wireless-security"}}},
{"802-11-wireless-security",
std::map<std::string, sdbus::Variant>{
{"group", std::vector<std::string>{"ccmp"}},
{"pmf", static_cast<std::int32_t>(
1)}, // NM_SETTING_WIRELESS_SECURITY_PMF_DISABLE
{"key-mgmt", "wpa-psk"},
{
"pairwise",
std::vector<std::string>{"ccmp"},
},
{"proto", std::vector<std::string>{"rsn"}},
{"psk", password}}},
{"ipv4", std::map<std::string, sdbus::Variant>{{"method", "shared"}}},
{"ipv6", std::map<std::string, sdbus::Variant>{