commit | cf16807b61d15e42b20407c954a01a3774520ea7 | [log] [tgz] |
---|---|---|
author | Nikola Diklic-Perin <diklic.perin.nikola@gmail.com> | Fri Sep 23 10:59:43 2011 +0200 |
committer | Greg Kroah-Hartman <gregkh@suse.de> | Mon Sep 26 16:38:44 2011 -0700 |
tree | 93a60da8ed0cc30094e381ce6dd954c568fdc741 | |
parent | fd01a7a1bf6722e32efa679f15507148784af1f7 [diff] |
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>