]> git.karo-electronics.de Git - mv-sheeva.git/commit
ctcm: use correct idal word list for ctcmpc
authorBelinda Thompson <belindat@us.ibm.com>
Wed, 7 Mar 2012 02:06:27 +0000 (02:06 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 8 Mar 2012 06:52:25 +0000 (22:52 -0800)
commit205a8b649cf6c0a1e6e7512b65c72df480e2a883
tree46beeb5c0516da4935a8f2cbe8c7c37b6445d5ea
parentce1f893837afeee8aea0c5f6a32ebba16816beec
ctcm: use correct idal word list for ctcmpc

Communication Server Linux uses the ctcmpc code of the ctcm driver.
Sending problems have shown up caused by a wrong idal word list for
the first ccw. Function ctcmpc_chx_txdone() invokes the function
to prepare the idal word list without setting an appropriate length
for the first ccw, which may lead to an incomplete idal word list.
This patch sets the maximum buffer size as data length of the first
ccw. Thus correct idal word lists are guaranteed in all cases.

Signed-off-by: Belinda Thompson <belindat@us.ibm.com>
Reviewed-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/ctcm_fsms.c