]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitb15ae00fb312c1362a919e68ee14e749a6a2a893
treea731b1d9b2c95732d2882a52bb20e4af7546de59
parent4249076837ced119ab0dca140017829cf4ff1e22
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