ehea: set mac address fix
authorJan-Bernd Themann <ossthema@de.ibm.com>
Mon, 9 Jun 2008 14:17:37 +0000 (15:17 +0100)
committerJeff Garzik <jgarzik@redhat.com>
Tue, 10 Jun 2008 22:20:23 +0000 (18:20 -0400)
eHEA has to call firmware functions in order to change the mac address
of a logical port. This patch checks if the logical port is up
when calling the register / deregister mac address calls. If the port
is down these firmware calls would fail and are therefore not executed.

Signed-off-by: Jan-Bernd Themann <themann@de.ibm.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>

No differences found