[PATCH 2/8] tty: n_gsm: fix C/R bit when sending as a responder

2016-02-22 Thread Andrej Krpic
According to the specification (3GPP TS 27.010 v12.0.0 R1, 5.2.1.2), C/R bit must be the same for corresponding command and response. If mux is an initiator (station that initiates DLC 0), valid sent commands and received responses must have C/R bit set to 1. For a station that is a responder, vali

[PATCH 2/8] tty: n_gsm: fix C/R bit when sending as a responder

2016-02-21 Thread Andrej Krpic
According to the specification (3GPP TS 27.010 v12.0.0 R1, 5.2.1.2), C/R bit must be the same for corresponding command and response. If mux is an initiator (station that initiates DLC 0), valid sent commands and received responses must have C/R bit set to 1. For a station that is a responder, vali