bas_gigaset: collapse CR/LF at end of AT response
authorTilman Schmidt <tilman@imap.cc>
Mon, 22 Feb 2010 13:09:22 +0000 (13:09 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 26 Feb 2010 09:24:23 +0000 (01:24 -0800)
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>

No differences found