ISDN: Fix isdnhdlc for one byte hdlc packets
authorKarsten Keil <keil@b1-systems.de>
Wed, 8 Jul 2009 18:58:33 +0000 (20:58 +0200)
committerKarsten Keil <keil@b1-systems.de>
Sat, 25 Jul 2009 18:16:17 +0000 (20:16 +0200)
commitf3fad223ed69f406f33c9619c256858d5a5fc5c7
tree47987e6358d83c3f01ae500abffd1e869a577a2c
parentc38fc3bc2ecddd4f5278131603e6964cbed071b2
ISDN: Fix isdnhdlc for one byte hdlc packets

Normally HDLC packets contain more as one byte (e.g a X25/X75 header).
But if you use plain HDLC framing, the current code do not encode
1 byte payloads, this patch fix that.

Signed-off-by: Karsten Keil <keil@b1-systems.de>
drivers/isdn/i4l/isdnhdlc.c