From: Tilman Schmidt Date: Mon, 22 Feb 2010 13:09:22 +0000 (+0000) Subject: bas_gigaset: collapse CR/LF at end of AT response X-Git-Tag: v2.6.34-rc1~233^2~85 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=63e055d1c6e3a5f6d370cc841d621d5fa4d5d834;p=pandora-kernel.git 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 Signed-off-by: David S. Miller --- Reading git-diff-tree failed