n_gsm: fix the wrong FCS handling
[pandora-kernel.git] / drivers / tty / n_gsm.c
index a38114b..14522ee 100644 (file)
@@ -1871,10 +1871,6 @@ static void gsm0_receive(struct gsm_mux *gsm, unsigned char c)
                break;
        case GSM_FCS:           /* FCS follows the packet */
                gsm->received_fcs = c;
-               if (c == GSM0_SOF) {
-                       gsm->state = GSM_SEARCH;
-                       break;
-               }
                gsm_queue(gsm);
                gsm->state = GSM_SSOF;
                break;