]> git.baikalelectronics.ru Git - kernel.git/commit
qeth: Clear mac_bits field when switching between Layer 2 and Layer 3
authorCarsten Otte <cotte@de.ibm.com>
Thu, 22 Jul 2010 23:15:04 +0000 (23:15 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 23 Jul 2010 19:36:22 +0000 (12:36 -0700)
commit36f0e65a047a0898bc22a0f0cbda88ed4e3a6c69
treebdbcbe95412af3a7812903a01452cbe0849b9659
parent7940f66a9526b2bffe7a28c5c0fedd47a9f34995
qeth: Clear mac_bits field when switching between Layer 2 and Layer 3

This patch fixes a problem that occurs when switching from layer 3 to layer 2
mode. Resetting this mac_bits makes sure that we retrieve our mac address from
the card, otherwise the interface simply would'nt work.

Signed-off-by: Carsten Otte <cotte@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_core_sys.c