3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #40334 from NixOS/yegortimoshenko-patch-4

hostapd: remove assertion (allow 5GHz channels)
This commit is contained in:
Jörg Thalheim 2018-05-11 12:18:50 +01:00 committed by GitHub
commit 9c174783a1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -151,11 +151,6 @@ in
config = mkIf cfg.enable { config = mkIf cfg.enable {
assertions = [
{ assertion = (cfg.channel >= 1 && cfg.channel <= 13);
message = "channel must be between 1 and 13";
}];
environment.systemPackages = [ pkgs.hostapd ]; environment.systemPackages = [ pkgs.hostapd ];
systemd.services.hostapd = systemd.services.hostapd =