pci
This commit is contained in:
parent
c9885f8485
commit
882ea66ef7
|
@ -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
|
||||
|
|
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue