Skip to content

Commit 57f601a

Browse files
authored
Merge pull request #165 from rdkcentral/anatar818-patch-18
RDKBACCL-660
2 parents a5dd0b2 + b33ddbe commit 57f601a

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

meta-rdk-mtk-bpir4/recipes-ccsp/ccsp/files/onewifi_pre_start.sh

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,7 @@ iw phy phy0 interface add wifi2 type __ap
1414

1515
#Obtain the wifi0 mac address
1616
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))
2017
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))
2318
wifi2_mac=`cat /nvram/mac_addresses.txt | grep -a wifi2 | cut -d " " -f 2`
2419
#print the mac address
2520
echo $wifi0_mac

0 commit comments

Comments
 (0)