isdn/gigaset: honor CAPI application's buffer size request
commit4c350f3d896082d44a4b878f2e56fd9ee4ec5eae
authorTilman Schmidt <tilman@imap.cc>
Mon, 21 Jun 2010 13:54:19 +0000 (21 13:54 +0000)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 2 Aug 2010 17:30:09 +0000 (2 10:30 -0700)
tree2a368a2fa6dbffe1e16493440eccc8b36c4f5335
parentb578244ed982bb29fac1363b4ae29be2142cc151
isdn/gigaset: honor CAPI application's buffer size request

commit e7752ee280608a24e27f163641121bdc2c68d6af upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
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