소스 검색

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

Alfonso Gamboa 3 년 전
부모
커밋
a14d6ee7cc
1개의 변경된 파일0개의 추가작업 그리고 3개의 파일을 삭제
  1. 0 3
      SD_ROOT/wz_mini/run_mmc.sh

+ 0 - 3
SD_ROOT/wz_mini/run_mmc.sh

@@ -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