qeth: avoid loop if ipa command response is missing
commit908abbb5773213288c8ed033c3313440b31cfbf3
authorUrsula Braun <ursula.braun@de.ibm.com>
Thu, 22 Jul 2010 23:15:06 +0000 (22 23:15 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 23 Jul 2010 19:36:23 +0000 (23 12:36 -0700)
tree0636237a9398ff6939708cc68f53dacf12d2d5aa
parent9dc48ccc68b9dfc01c2beee2d4317fb3df3fdce9
qeth: avoid loop if ipa command response is missing

If qeth issues an ipa command, but for some reasons the response
never comes back, qeth reaches a timeout.
Reset the irq_pending flag of the write channel in timeout handling
code and trigger a recovery to avoid endless looping for the following
ipa command.

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_core.h
drivers/s390/net/qeth_core_main.c