aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel/broadcom-wl/patches/120-fixup-mac-addresses.patch
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@hauke-m.de>2014-07-07 17:38:54 +0000
committerHauke Mehrtens <hauke@hauke-m.de>2014-07-07 17:38:54 +0000
commit189edfef1a6001b5922726b116bbfca3313cb4d5 (patch)
tree15b027fc2229040c57b9713044a68d14fa81d8b3 /package/kernel/broadcom-wl/patches/120-fixup-mac-addresses.patch
parent8a792ca2bbcc7db1024aefb68e3732ed492d3fe6 (diff)
downloadupstream-189edfef1a6001b5922726b116bbfca3313cb4d5.tar.gz
upstream-189edfef1a6001b5922726b116bbfca3313cb4d5.tar.bz2
upstream-189edfef1a6001b5922726b116bbfca3313cb4d5.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> SVN-Revision: 41545
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.patch2
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");
+}