ap66: fix

This commit is contained in:
Astro 2023-12-18 23:23:58 +01:00
parent 4aba3c5961
commit e4337940bf
3 changed files with 6 additions and 8 deletions

View File

@ -2072,12 +2072,8 @@
pub.type = "bridge";
};
links = {
priv48 = {
ports = [ "lan" ];
};
switch-b3 = {
ports = [ "wan" ];
};
priv48.ports = [ "lan:1" "lan:2" "lan:3" "lan:4" ];
switch-b3.ports = [ "wan" ];
};
location = "B 4.03.01";
model = "tplink_archer-c7-v5";

View File

@ -95,7 +95,9 @@ let
ucidef_set_interfaces_lan_wan.ports =
makeLinkFromArg "lan" (builtins.elemAt args 0) //
makeLinkFromArg "wan" (builtins.elemAt args 1);
self.lib.optionalAttrs (builtins.length args > 1) (
makeLinkFromArg "wan" (builtins.elemAt args 1)
);
};
in
if commands ? ${command}

View File

@ -11,7 +11,7 @@ let
"kmod-ath10k" "ath10k-firmware-qca988x"
];
"tplink_archer-c7-v5" = [
"-kmod-ath10k-ct" "-ath10k-firmware-qca988x-ct"
"-kmod-ath10k-ct" "-ath10k-firmware-qca988x-ct" "-ath10k-firmware-qca988x-ct-full-htt"
"kmod-ath10k" "ath10k-firmware-qca988x"
];
"ubnt_unifiac-lite" = [