summaryrefslogtreecommitdiffstats
path: root/drivers/isdn/gigaset/common.c
diff options
context:
space:
mode:
authorTilman Schmidt2010-02-22 14:09:22 +0100
committerDavid S. Miller2010-02-26 10:24:23 +0100
commit63e055d1c6e3a5f6d370cc841d621d5fa4d5d834 (patch)
tree80f645c85bbc012d3b1b45ab66ee7dd8938de49b /drivers/isdn/gigaset/common.c
parentgigaset: small documentation improvement (diff)
downloadkernel-qcow2-linux-63e055d1c6e3a5f6d370cc841d621d5fa4d5d834.tar.gz
kernel-qcow2-linux-63e055d1c6e3a5f6d370cc841d621d5fa4d5d834.tar.xz
kernel-qcow2-linux-63e055d1c6e3a5f6d370cc841d621d5fa4d5d834.zip
bas_gigaset: collapse CR/LF at end of AT response
Copy the mechanism from ser_/usb_gigaset to avoid producing spurious empty responses for CR/LF sequences from the device. Add a comment in all drivers documenting that behaviour. Correct an off by one error that might result in a one byte buffer overflow when receiving an unexpectedly long reply. Impact: minor bugfix Signed-off-by: Tilman Schmidt <tilman@imap.cc> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/isdn/gigaset/common.c')
0 files changed, 0 insertions, 0 deletions