From f8dc3abbb053f3732afc016109a47febad94ff71 Mon Sep 17 00:00:00 2001 From: Yorick Date: Mon, 14 May 2018 02:03:42 +0200 Subject: [PATCH 1/2] linux: add CONFIG_KEY_DH_OPERATIONS --- pkgs/os-specific/linux/kernel/common-config.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/os-specific/linux/kernel/common-config.nix b/pkgs/os-specific/linux/kernel/common-config.nix index 4af5889fd1c..ebb569689b2 100644 --- a/pkgs/os-specific/linux/kernel/common-config.nix +++ b/pkgs/os-specific/linux/kernel/common-config.nix @@ -636,6 +636,11 @@ with stdenv.lib; X86_X2APIC y IRQ_REMAP y ''} + + # needed for iwd WPS support (wpa_supplicant replacement) + ${optionalString (versionAtLeast version "4.7") '' + CONFIG_KEY_DH_OPERATIONS y + ''} # Disable the firmware helper fallback, udev doesn't implement it any more FW_LOADER_USER_HELPER_FALLBACK? n From c7e8ddc066ea4d06b979c066fa983f3d1c00d232 Mon Sep 17 00:00:00 2001 From: Yorick Date: Tue, 15 May 2018 14:33:29 +0200 Subject: [PATCH 2/2] linux: config: remove prefix on KEY_DH_OPERATIONS --- pkgs/os-specific/linux/kernel/common-config.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/os-specific/linux/kernel/common-config.nix b/pkgs/os-specific/linux/kernel/common-config.nix index ebb569689b2..ec2b2f38795 100644 --- a/pkgs/os-specific/linux/kernel/common-config.nix +++ b/pkgs/os-specific/linux/kernel/common-config.nix @@ -639,7 +639,7 @@ with stdenv.lib; # needed for iwd WPS support (wpa_supplicant replacement) ${optionalString (versionAtLeast version "4.7") '' - CONFIG_KEY_DH_OPERATIONS y + KEY_DH_OPERATIONS y ''} # Disable the firmware helper fallback, udev doesn't implement it any more