]> err.no Git - linux-2.6/commit
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)
commit00aaea2f95d73d4e2b5e45cf77c3cbb16c59e87f
treec758947730e4d9064581b8f5ee2febae0d1fd866
parent23bdfdd388723b8213f597743b1d4aba0d62de9c
ehea: set mac address fix

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>
drivers/net/ehea/ehea_main.c