This commit is contained in:
Bob Mottram 2016-10-21 14:10:57 +01:00
parent c9885f8485
commit 882ea66ef7
2 changed files with 2 additions and 2 deletions

View File

@ -90,7 +90,7 @@ function running_as_root {
}
function reset_usb_devices {
for xhci in /sys/bus/pci/drivers/?hci_hcd ; do
for xhci in /sys/bus/pci/drivers/?hci-pci ; do
if ! cd $xhci ; then
return

View File

@ -66,8 +66,8 @@ function setup_wifi_atheros {
curr_dir=$(pwd)
cd /lib/firmware
tar -xzvf $atheros_drivers_file
cd $curr_dir
reset_usb_devices
cd $curr_dir
}
function setup_wifi {