USB_DIRECT mac set from kernel module, no need to set here

This commit is contained in:
Alfonso Gamboa 2022-05-20 00:23:45 -07:00
parent 966e6ffcea
commit a14d6ee7cc

View File

@ -130,9 +130,6 @@ rename_interface() {
eth_wlan_up() {
##Run DHCP client, and bind mount our fake wpa_cli.sh to fool iCamera
if [[ "$ENABLE_USB_DIRECT" == "true" ]]; then
/media/mmc/wz_mini/bin/busybox ip link set wlan0 address $USB_DIRECT_MAC_ADDR
fi
ifconfig wlan0 up
pkill udhcpc
udhcpc -i wlan0 -x hostname:$HOSTNAME -p /var/run/udhcpc.pid -b