mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-12-27 02:32:52 +01:00
p2p: limit ciphers to CCMP
The limitation of cipher selection in ap.c was done so to allow p2p to work. Now with the ability to specify ciphers in the AP config put the burden on p2p to limit ciphers as it needs which is only CCMP according to the spec.
This commit is contained in:
parent
262685e818
commit
7d4d868236
@ -1273,6 +1273,9 @@ static void p2p_group_start(struct p2p_device *dev)
|
||||
/* Enable netconfig, set maximum usable DHCP lease time */
|
||||
l_settings_set_uint(config, "IPv4", "LeaseTime", 0x7fffffff);
|
||||
|
||||
l_settings_set_string(config, "Security", "PairwiseCiphers", "CCMP");
|
||||
l_settings_set_string(config, "Security", "GroupCipher", "CCMP");
|
||||
|
||||
dev->capability.group_caps |= P2P_GROUP_CAP_GO;
|
||||
dev->capability.group_caps |= P2P_GROUP_CAP_GROUP_FORMATION;
|
||||
dev->capability.group_caps |= P2P_GROUP_CAP_IP_ALLOCATION;
|
||||
|
Loading…
Reference in New Issue
Block a user