Install free firmware for atheros usb driver

This commit is contained in:
Bob Mottram 2018-01-26 15:44:58 +00:00
parent 874efc080f
commit 3bb6785574
2 changed files with 3 additions and 0 deletions

View File

@ -497,6 +497,7 @@ atheros_wifi() {
fi
chroot "$rootdir" dpkg -i /root/freedombone/drivers/firmware-ath9k-htc.deb
chroot "$rootdir" apt-get -yq install firmware-linux-free
}
configure_wifi() {

View File

@ -86,6 +86,8 @@ function setup_wifi_atheros {
return
fi
apt-get -yq install firmware-linux-free
atheros_drivers_file=drivers/firmware-ath9k-htc.deb
if [ ! -f $atheros_drivers_file ]; then
if [ ! -f ~/freedombone/$atheros_drivers_file ]; then