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>
This commit is contained in:
parent
4428de2aad
commit
3018f13670
|
@ -31,7 +31,6 @@ static char *vars[] = {
|
|||
"netmask",
|
||||
"gateway",
|
||||
"serverip",
|
||||
"ethaddr",
|
||||
};
|
||||
|
||||
static int eth_set_param(struct device_d *dev, const char *param)
|
||||
|
|
Loading…
Reference in New Issue