mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-04-21 12:27:27 +03:00
[package] sync macs with vif bssids in broadcom.sh, fixes multi-ssid with wpa
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15028 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
@@ -231,6 +231,7 @@ setup_interface() {
|
||||
# Interface settings
|
||||
config_get mtu "$config" mtu
|
||||
config_get macaddr "$config" macaddr
|
||||
macaddr="${macaddr:-$3}"
|
||||
grep "$iface:" /proc/net/dev > /dev/null && \
|
||||
$DEBUG ifconfig "$iface" down && \
|
||||
$DEBUG ifconfig "$iface" ${macaddr:+hw ether "$macaddr"} ${mtu:+mtu $mtu} up
|
||||
|
||||
Reference in New Issue
Block a user