mirror of
https://github.com/gtxaspec/wz_mini_hacks.git
synced 2024-11-25 06:47:18 +00:00
remove old while loop from usb_direct and usb_rndis
This commit is contained in:
parent
cc78be70b2
commit
b3b6843012
@ -385,13 +385,8 @@ if [[ "$ENABLE_USB_DIRECT" == "true" ]]; then
|
||||
|
||||
swap_enable
|
||||
|
||||
#loop begin
|
||||
while true
|
||||
do
|
||||
netloop usb0
|
||||
echo "wlan0 not ready yet..."
|
||||
sleep 1
|
||||
done
|
||||
|
||||
else
|
||||
echo "USB Direct disabled"
|
||||
fi
|
||||
@ -409,13 +404,8 @@ if [[ "$ENABLE_USB_RNDIS" == "true" ]]; then
|
||||
|
||||
swap_enable
|
||||
|
||||
#loop begin
|
||||
while true
|
||||
do
|
||||
wpa_check usb0
|
||||
echo "wlan0 not ready yet..."
|
||||
sleep 1
|
||||
done
|
||||
netloop usb0
|
||||
|
||||
fi
|
||||
else
|
||||
echo "usb rndis disabled"
|
||||
|
Loading…
Reference in New Issue
Block a user