android_kernel_samsung_msm8976/net/irda/ircomm
Johan Hovold 7c5f4dde19 net: irda: fix wait_until_sent poll timeout
commit 2c3fbe3cf28fbd7001545a92a83b4f8acfd9fa36 upstream.

In case an infinite timeout (0) is requested, the irda wait_until_sent
implementation would use a zero poll timeout rather than the default
200ms.

Note that wait_until_sent is currently never called with a 0-timeout
argument due to a bug in tty_wait_until_sent.

Fixes: 1da177e4c3 ("Linux-2.6.12-rc2")
Signed-off-by: Johan Hovold <johan@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2015-03-18 13:22:31 +01:00
..
Kconfig tty: Added a CONFIG_TTY option to allow removal of TTY 2013-01-18 16:15:27 -08:00
Makefile Net: irda: ircomm: Makefile: Remove deprecated kbuild goal defintions 2010-11-22 08:16:12 -08:00
ircomm_core.c TTY: ircomm, use GFP_KERNEL in ircomm_open() 2013-04-08 12:09:18 -04:00
ircomm_event.c
ircomm_lmp.c irda: Fix error propagation in ircomm_lmp_connect_response() 2011-05-19 18:58:39 -04:00
ircomm_param.c TTY: ircomm, use tty from tty_port 2012-06-12 15:50:24 -07:00
ircomm_ttp.c
ircomm_tty.c net: irda: fix wait_until_sent poll timeout 2015-03-18 13:22:31 +01:00
ircomm_tty_attach.c TTY: add tty_port_tty_hangup helper 2013-03-18 16:24:29 -07:00
ircomm_tty_ioctl.c tty: move the termios object into the tty 2012-07-16 13:00:41 -07:00