We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a5dd0b2 + b33ddbe commit 57f601aCopy full SHA for 57f601a
meta-rdk-mtk-bpir4/recipes-ccsp/ccsp/files/onewifi_pre_start.sh
@@ -14,12 +14,7 @@ iw phy phy0 interface add wifi2 type __ap
14
15
#Obtain the wifi0 mac address
16
wifi0_mac=`cat /nvram/mac_addresses.txt | grep -a wifi0 | cut -d " " -f 2`
17
-#Strip the : and increment mac by 1 to get wifi1 macaddress
18
-#mac=$(echo $wifi0_mac | tr -d ':')
19
-#mac_incr=$((0x$mac + 1))
20
wifi1_mac=`cat /nvram/mac_addresses.txt | grep -a wifi1 | cut -d " " -f 2`
21
-#Increment again by 1 to get wifi2 address
22
-#mac_incr=$(($mac_incr + 1))
23
wifi2_mac=`cat /nvram/mac_addresses.txt | grep -a wifi2 | cut -d " " -f 2`
24
#print the mac address
25
echo $wifi0_mac
0 commit comments