summaryrefslogtreecommitdiffstats
path: root/drivers/isdn/mISDN/l1oip_core.c
diff options
context:
space:
mode:
authorKarsten Keil2012-05-16 01:51:06 +0200
committerDavid S. Miller2012-05-16 21:23:46 +0200
commit034005a0119b9c2aabe0ac3953eb9a65ca937a69 (patch)
treea7ee0735f2a9f87eb0207c27930a3e3c748bc1fe /drivers/isdn/mISDN/l1oip_core.c
parentmISDN: Reduce RX buffer allocation for transparent data (diff)
downloadkernel-qcow2-linux-034005a0119b9c2aabe0ac3953eb9a65ca937a69.tar.gz
kernel-qcow2-linux-034005a0119b9c2aabe0ac3953eb9a65ca937a69.tar.xz
kernel-qcow2-linux-034005a0119b9c2aabe0ac3953eb9a65ca937a69.zip
mISDN: Allow to set a minimum length for transparent data
If the FIFO of the card is small, many short messages are queued up to the upper layers and the userspace. This change allows the applications to set a minimum datalen they want from the drivers. Create a common control function to avoid code duplication in each driver. Signed-off-by: Karsten Keil <kkeil@linux-pingi.de> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/isdn/mISDN/l1oip_core.c')
-rw-r--r--drivers/isdn/mISDN/l1oip_core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/isdn/mISDN/l1oip_core.c b/drivers/isdn/mISDN/l1oip_core.c
index 0f88acf1185f..db50f788855d 100644
--- a/drivers/isdn/mISDN/l1oip_core.c
+++ b/drivers/isdn/mISDN/l1oip_core.c
@@ -1420,7 +1420,7 @@ init_card(struct l1oip *hc, int pri, int bundle)
bch->nr = i + ch;
bch->slot = i + ch;
bch->debug = debug;
- mISDN_initbchannel(bch, MAX_DATA_MEM);
+ mISDN_initbchannel(bch, MAX_DATA_MEM, 0);
bch->hw = hc;
bch->ch.send = handle_bmsg;
bch->ch.ctrl = l1oip_bctrl;