qeth: show new mac-address if its setting fails
authorUrsula Braun <ursula.braun@de.ibm.com>
Wed, 2 Feb 2011 06:04:31 +0000 (06:04 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 2 Feb 2011 22:59:59 +0000 (14:59 -0800)
commit221c17fe87033aa154df68679b437c83d835c284
tree2a4b4477f93c45227fbb76ee4acf7fcc6c30a983
parent6d152e23ad1a7a5b40fef1f42e017d66e6115159
qeth: show new mac-address if its setting fails

Setting of a MAC-address may fail because an already used MAC-address
is to bet set or because of authorization problems. In those cases
qeth issues a message, but the mentioned MAC-address is not the
new MAC-address to be set, but the actual MAC-address. This patch
chooses now the new MAC-address to be set for the error messages.

Signed-off-by: Ursula Braun <ursula.braun@de.ibm.com>
Signed-off-by: Frank Blaschka <frank.blaschka@de.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/s390/net/qeth_l2_main.c