1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-10-01 11:04:10 +03:00

ar7-atm: patch was against an older tarball, fixear7-atm: patch was against an older tarball, fixedd

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10590 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
matteo 2008-03-11 17:39:54 +00:00
parent 84818f6c0b
commit 9f4b243ba5

View File

@ -164,8 +164,8 @@ diff -urN sangam_atm-07.02.01.00/tn7atm.c sangam_atm-07.02.01.00.mod/tn7atm.c
char esi_addr[ESI_LEN] = { 0x00, 0x00, 0x11, 0x22, 0x33, 0x44 };
char *esiaddr_str = NULL;
- esiaddr_str = prom_getenv ("macc");
+ esiaddr_str = mp_macc ? mp_macc : prom_getenv ("macc");
- esiaddr_str = prom_getenv ("maca");
+ esiaddr_str = mp_macc ? mp_macc : prom_getenv ("maca");
if (!esiaddr_str)
{