projects
/
15.05
/
openwrt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5a82ad1
)
mac80211: fix handling of vif mac addresses in /lib/wifi/mac80211.sh (patch from...
author
Felix Fietkau
<nbd@openwrt.org>
Thu, 24 Dec 2009 11:05:04 +0000
(11:05 +0000)
committer
Felix Fietkau
<nbd@openwrt.org>
Thu, 24 Dec 2009 11:05:04 +0000
(11:05 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18923
3c298f89
-4303-0410-b956-
a3cf2f4a3e73
package/mac80211/files/lib/wifi/mac80211.sh
patch
|
blob
|
history
diff --git
a/package/mac80211/files/lib/wifi/mac80211.sh
b/package/mac80211/files/lib/wifi/mac80211.sh
index
adfd948
..
742c1bb
100644
(file)
--- 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"