n_gsm: fix the wrong FCS handling
authorDu, Alek <alek.du@intel.com>
Thu, 7 Jul 2011 14:16:48 +0000 (15:16 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 8 Jul 2011 22:09:22 +0000 (15:09 -0700)
commitf086ced17191fa0c5712539d2b680eae3dc972a1
tree5c306da57b0fc30aea3daee63fb38ab883326688
parentbff52fd458a1bca06266449b0ab8a43e9a50d240
n_gsm: fix the wrong FCS handling

FCS could be GSM0_SOF, so will break state machine...

[This byte isn't quoted in any way so a SOF here doesn't imply an error
 occurred.]

Signed-off-by: Alek Du <alek.du@intel.com>
Signed-off-by: Alan Cox <alan@linux.intel.com>
Cc: stable <stable@kernel.org> [3.0]
[Trivial but best backported once its in 3.1rc I think]
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/tty/n_gsm.c