diff options
author | Felix Fietkau <nbd@openwrt.org> | 2009-12-24 11:05:04 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2009-12-24 11:05:04 +0000 |
commit | 6887b9b476aada30d551d8b96fa88bb7ba676620 (patch) | |
tree | a076bd897784dad0d73a0a81498d9458b7629c46 /package | |
parent | 5a82ad1a872fb03e12d6eafc853b85370d9f6d7a (diff) | |
download | master-187ad058-6887b9b476aada30d551d8b96fa88bb7ba676620.tar.gz master-187ad058-6887b9b476aada30d551d8b96fa88bb7ba676620.tar.bz2 master-187ad058-6887b9b476aada30d551d8b96fa88bb7ba676620.zip |
mac80211: fix handling of vif mac addresses in /lib/wifi/mac80211.sh (patch from #6401)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18923 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package')
-rw-r--r-- | package/mac80211/files/lib/wifi/mac80211.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/package/mac80211/files/lib/wifi/mac80211.sh b/package/mac80211/files/lib/wifi/mac80211.sh index adfd948db5..742c1bb446 100644 --- a/package/mac80211/files/lib/wifi/mac80211.sh +++ b/package/mac80211/files/lib/wifi/mac80211.sh @@ -149,7 +149,7 @@ enable_mac80211() { else offset="0" 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" |