commit | 63e055d1c6e3a5f6d370cc841d621d5fa4d5d834 | [log] [tgz] |
---|---|---|
author | Tilman Schmidt <tilman@imap.cc> | Mon Feb 22 13:09:22 2010 +0000 |
committer | David S. Miller <davem@davemloft.net> | Fri Feb 26 01:24:23 2010 -0800 |
tree | 80f645c85bbc012d3b1b45ab66ee7dd8938de49b | |
parent | 2ac2ed5f2dfc97ae9ed9f446ad6e064fa821ef6d [diff] |
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>