tty: n_gsm: Fixed logic to decode break signal from modem status
authorRuss Gorby <russ.gorby@intel.com>
Tue, 14 Jun 2011 20:23:28 +0000 (13:23 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 16 Jun 2011 19:00:15 +0000 (12:00 -0700)
The modem status can be one or 2 octets and contains the V.24 signals
and in the 2 octet case also the break signal.
We were improperly decoding the break signal from the modem in the
2 octet case.

Signed-off-by: Russ Gorby <russ.gorby@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

No differences found