Nikola Diklic-Perin cf16807b61 tty/n_gsm: fix bug in tiocmset
Clear bitmask was not inverted before masking modem_tx.

Calling ioctl(fd, TIOCMBIC, TIOCM_RTS) results in:

[  197.430000] pre_modem_tx:	0x00000006
[  197.430000] clear:			0x00000004
[  197.430000] set:			0x00000000
[  197.440000] post_modem_tx:	0x00000004

which is wrong.

Signed-off-by: Nikola Diklic-Perin <diklic.perin.nikola@gmail.com>
Acked-by: Alan Cox <alan@linx.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-09-26 16:38:44 -07:00
..
2011-08-05 22:16:42 -04:00
2011-07-28 01:30:07 -07:00
2011-08-11 10:14:18 -07:00
2011-08-13 14:50:32 -04:00
2011-08-03 16:44:21 +02:00
2011-09-26 16:38:44 -07:00
2011-08-16 07:23:34 -07:00