mirror of
https://git.openwrt.org/openwrt/openwrt.git
synced 2024-11-20 07:24:36 +01:00
mac80211: fix handling of vif mac addresses in /lib/wifi/mac80211.sh (patch from #6401)
SVN-Revision: 18923
This commit is contained in:
parent
6ec88dfdfc
commit
0a24ec2e4a
@ -149,7 +149,7 @@ enable_mac80211() {
|
|||||||
else
|
else
|
||||||
offset="0"
|
offset="0"
|
||||||
fi
|
fi
|
||||||
vif_mac="$( printf %02x $(($mac_1 + $offset)) ):$mac_2"
|
vif_mac="$( printf %02x $((0x$mac_1 + $offset)) ):$mac_2"
|
||||||
}
|
}
|
||||||
ifconfig "$ifname" hw ether "$vif_mac"
|
ifconfig "$ifname" hw ether "$vif_mac"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user