Skip to content
Snippets Groups Projects
Commit 123770d3 authored by Janusz Dziedzic's avatar Janusz Dziedzic
Browse files

brcm63xx: fix wifi mac generation

parent 750d7bcb
No related branches found
No related tags found
1 merge request!77brcm63xx: fix wifi mac generation
......@@ -463,7 +463,7 @@ mac80211_generate_mac() {
oIFS="$IFS"; IFS=":"; set -- $ref; IFS="$oIFS"
b1=$(( 0x$6 | 0x2 ))
b1=$(( 0x$1 | 0x02 ))
b6=$(((0x$6 + 0x$macidx) & 0xff))
printf "%02x:%s:%s:%s:%s:%02x" $b1 $2 $3 $4 $5 $b6
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment