forked from DGNum/liminix
gl-ar750: ath10k wireless depends on firmware
so make sure the firmware is present _first_ the ath10k is still broken anyway, looking into why
This commit is contained in:
parent
c373152673
commit
b5722a0153
2 changed files with 4 additions and 1 deletions
|
@ -74,6 +74,7 @@
|
|||
mac80211 = pkgs.kmodloader.override {
|
||||
targets = ["ath9k" "ath10k_pci"];
|
||||
inherit (config.system.outputs) kernel;
|
||||
dependencies = [ ath10k_cal_data ];
|
||||
};
|
||||
ath10k_cal_data =
|
||||
let
|
||||
|
@ -132,7 +133,7 @@
|
|||
};
|
||||
wlan5 = link.build {
|
||||
ifname = "wlan1";
|
||||
dependencies = [ mac80211 ath10k_cal_data ];
|
||||
dependencies = [ ath10k_cal_data mac80211 ];
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
@ -5,6 +5,7 @@
|
|||
, kernel ? null
|
||||
, runCommand
|
||||
, pkgsBuildBuild
|
||||
, dependencies ? []
|
||||
} :
|
||||
let
|
||||
inherit (liminix.services) oneshot;
|
||||
|
@ -38,4 +39,5 @@ in oneshot {
|
|||
name = "kmodloader-" + (concatStringsSep "-" targets);
|
||||
up = "sh ${loader}/load.sh";
|
||||
down = "sh ${loader}/unload.sh";
|
||||
inherit dependencies;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue