summary refs log tree commit diff
path: root/pkgs/os-specific/linux/wpa_supplicant
diff options
context:
space:
mode:
authorMichael Alan Dorman <mdorman@ironicdesign.com>2015-05-08 11:02:01 -0400
committerMichael Alan Dorman <mdorman@ironicdesign.com>2015-05-08 11:02:01 -0400
commitd3e0850989cbff07143fc0a237c610a74e079555 (patch)
treee84b291f3446f61961599795f93a2ca2ce5a9052 /pkgs/os-specific/linux/wpa_supplicant
parent53148b24f669268d814cfe341afe9b44f0ce83a9 (diff)
downloadnixpkgs-d3e0850989cbff07143fc0a237c610a74e079555.tar
nixpkgs-d3e0850989cbff07143fc0a237c610a74e079555.tar.gz
nixpkgs-d3e0850989cbff07143fc0a237c610a74e079555.tar.bz2
nixpkgs-d3e0850989cbff07143fc0a237c610a74e079555.tar.lz
nixpkgs-d3e0850989cbff07143fc0a237c610a74e079555.tar.xz
nixpkgs-d3e0850989cbff07143fc0a237c610a74e079555.tar.zst
nixpkgs-d3e0850989cbff07143fc0a237c610a74e079555.zip
Add wpa_supplicant p2p patch.
wpa_supplicant 2.4 appears to have a serious bug that makes impossible
to use wifi for some number of people.

(See https://bbs.archlinux.org/viewtopic.php?id=196584 for an example)

It was resolved in a patch for the to-be-released 2.5 which it seemed
worth it to cherry-pick here.
Diffstat (limited to 'pkgs/os-specific/linux/wpa_supplicant')
-rw-r--r--pkgs/os-specific/linux/wpa_supplicant/default.nix7
1 files changed, 6 insertions, 1 deletions
diff --git a/pkgs/os-specific/linux/wpa_supplicant/default.nix b/pkgs/os-specific/linux/wpa_supplicant/default.nix
index f6142bd630f..c709880af2d 100644
--- a/pkgs/os-specific/linux/wpa_supplicant/default.nix
+++ b/pkgs/os-specific/linux/wpa_supplicant/default.nix
@@ -1,4 +1,4 @@
-{ stdenv, fetchurl, lib, openssl, pkgconfig, libnl
+{ stdenv, fetchpatch, fetchurl, lib, openssl, pkgconfig, libnl
 , dbus_libs ? null, readline ? null, pcsclite ? null
 }:
 
@@ -79,6 +79,11 @@ stdenv.mkDerivation rec {
   patches = [
     ./0001-P2P-Validate-SSID-element-length-before-copying-it-C.patch
     ./build-fix.patch
+    (fetchpatch {
+      name = "p2p-fix.patch";
+      url = "http://w1.fi/cgit/hostap/patch/?id=8a78e227df1ead19be8e12a4108e448887e64d6f";
+      sha256 = "1k2mcq1jv8xzi8061ixcz6j56n4i8wbq0vxcvml204q1syy2ika0";
+    })
   ];
 
   postInstall = ''