diff options
author | Hauke Mehrtens <hauke@openwrt.org> | 2014-07-07 17:38:54 +0000 |
---|---|---|
committer | Hauke Mehrtens <hauke@openwrt.org> | 2014-07-07 17:38:54 +0000 |
commit | 43474360c78cbad132edb1348dd0c257b38d4389 (patch) | |
tree | 85b0ec229f32a1c428d335b2fd2806b3f04e8767 /package/kernel/broadcom-wl/patches/120-fixup-mac-addresses.patch | |
parent | e71bcafce5da3cc2be2da74324a954773e531234 (diff) | |
download | upstream-43474360c78cbad132edb1348dd0c257b38d4389.tar.gz upstream-43474360c78cbad132edb1348dd0c257b38d4389.tar.bz2 upstream-43474360c78cbad132edb1348dd0c257b38d4389.zip |
broadcom-wl: assign first increased mac address to internal wifi core
When the original mac addresses are not valid assign the first one to
the internal wifi core, this matches the manufacture mac address in
most cases. In addition refresh the patches.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41545 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/kernel/broadcom-wl/patches/120-fixup-mac-addresses.patch')
-rw-r--r-- | package/kernel/broadcom-wl/patches/120-fixup-mac-addresses.patch | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/package/kernel/broadcom-wl/patches/120-fixup-mac-addresses.patch b/package/kernel/broadcom-wl/patches/120-fixup-mac-addresses.patch index f3d7c246e6..a07176d02d 100644 --- a/package/kernel/broadcom-wl/patches/120-fixup-mac-addresses.patch +++ b/package/kernel/broadcom-wl/patches/120-fixup-mac-addresses.patch @@ -85,8 +85,8 @@ + + /* jump over the first free address so it can be used for wan */ + nvram_increase_mac_addr(&macaddr_base, 1); ++ nvram_change_mac_addr(new, &macaddr_base, "sb/1/macaddr"); + nvram_change_mac_addr(new, &macaddr_base, "pci/1/1/macaddr"); + nvram_change_mac_addr(new, &macaddr_base, "pci/1/2/macaddr"); + nvram_change_mac_addr(new, &macaddr_base, "pci/2/1/macaddr"); -+ nvram_change_mac_addr(new, &macaddr_base, "sb/1/macaddr"); +} |