netiucv: improve state checking in conn_action_txdone
authorUrsula Braun <ursula.braun@de.ibm.com>
Mon, 16 Dec 2013 08:44:51 +0000 (09:44 +0100)
committerDavid S. Miller <davem@davemloft.net>
Tue, 17 Dec 2013 22:17:13 +0000 (17:17 -0500)
commitd239ae339e0740d2405f4d8a4d482dbe7b001c69
treed1e394c219b36ddc9e4cd504d522fbdf8fef6bd7
parentd207cf4c1ad27c6f8881857ca301f8489826116d
netiucv: improve state checking in conn_action_txdone

state checking in conn_action_txdone() is inconsistent.
This patch makes it consistent and issues a trace message
if an unexpected state is detected for the netiucv device.

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/netiucv.c