Skip to content

Commit 35375aa

Browse files
authoredMay 11, 2018
hostapd: remove assertion (allow 5GHz channels)
1 parent b7074a6 commit 35375aa

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed
 

‎nixos/modules/services/networking/hostapd.nix

-5
Original file line numberDiff line numberDiff line change
@@ -151,11 +151,6 @@ in
151151

152152
config = mkIf cfg.enable {
153153

154-
assertions = [
155-
{ assertion = (cfg.channel >= 1 && cfg.channel <= 13);
156-
message = "channel must be between 1 and 13";
157-
}];
158-
159154
environment.systemPackages = [ pkgs.hostapd ];
160155

161156
systemd.services.hostapd =

0 commit comments

Comments
 (0)
Please sign in to comment.