net/ifup.c: avoid setting the MAC twice
The command always sets the MAC address of the interface in the code path.
For the static network configuration case it sets it again, due to the
environment variable keyword ("ethaddr") is listed again in the table.
Remove this keyword from the table, because the MAC is already set.

Signed-off-by: Juergen Borleis <jbe@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent 4428de2 commit 3018f1367075dd5310fc5f5ceaf6706ae67b3013
@Juergen Borleis Juergen Borleis authored on 23 Apr 2014
Sascha Hauer committed on 24 Apr 2014
Showing 1 changed file
View
net/ifup.c