From 3ac299934d41de9e9e7afd29920ec8c7e89036f6 Mon Sep 17 00:00:00 2001 From: Jack Cummings Date: Mon, 11 Mar 2013 02:31:51 -0700 Subject: [PATCH] enable 802.11n by default. --- pkgs/os-specific/linux/hostapd/default.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkgs/os-specific/linux/hostapd/default.nix b/pkgs/os-specific/linux/hostapd/default.nix index f13a1033f8ba..b8e5055f056c 100644 --- a/pkgs/os-specific/linux/hostapd/default.nix +++ b/pkgs/os-specific/linux/hostapd/default.nix @@ -16,6 +16,7 @@ stdenv.mkDerivation rec { substituteInPlace Makefile --replace "/usr/local/bin" "$out/bin" mv defconfig .config echo CONFIG_LIBNL32=y | tee -a .config + echo CONFIG_IEEE80211N=y | tee -a .config export NIX_CFLAGS_COMPILE="$NIX_CFLAGS_COMPILE $(pkg-config --cflags libnl-3.0)" ''; preInstall = "mkdir -p $out/bin"; @@ -27,4 +28,4 @@ stdenv.mkDerivation rec { maintainers = [ maintainers.phreedom ]; platforms = platforms.linux; }; -} \ No newline at end of file +}