isdn/gigaset: honor CAPI application's buffer size request
authorTilman Schmidt <tilman@imap.cc>
Mon, 21 Jun 2010 13:54:19 +0000 (13:54 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 26 Jun 2010 04:16:59 +0000 (21:16 -0700)
commite7752ee280608a24e27f163641121bdc2c68d6af
treea731b1d9b2c95732d2882a52bb20e4af7546de59
parented770f01360b392564650bf1553ce723fa46afec
isdn/gigaset: honor CAPI application's buffer size request

Fix the Gigaset CAPI driver to limit the length of a connection's
payload data receive buffers to the corresponding CAPI application's
data buffer size, as some real-life CAPI applications tend to be
rather unhappy if they receive bigger data blocks than requested.

Impact: bugfix
Signed-off-by: Tilman Schmidt <tilman@imap.cc>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/isdn/gigaset/asyncdata.c
drivers/isdn/gigaset/capi.c
drivers/isdn/gigaset/common.c
drivers/isdn/gigaset/gigaset.h
drivers/isdn/gigaset/i4l.c
drivers/isdn/gigaset/isocdata.c