Linux bluetooth development
 help / color / mirror / Atom feed
* [PATCH v2 0/4] Regression fixes for rfcomm/tty.c
@ 2014-01-06 18:43 Gianluca Anzolin
  2014-01-06 18:43 ` [PATCH v2 1/4] rfcomm: release the port when the last user closes the tty Gianluca Anzolin
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: Gianluca Anzolin @ 2014-01-06 18:43 UTC (permalink / raw)
  To: gustavo
  Cc: peter, marcel, linux-bluetooth, gregkh, jslaby, stable,
	Gianluca Anzolin

The following patches fix three regressions introduced with the
rfcomm tty_port conversion.

The first patch restores the expected behaviour of the rfcomm port when
it's created with the flag RFCOMM_RELEASE_ONHUP.

The second patch moves rfcomm_get_device() and is preparatory for the
third patch.

The third patch fixes two regressions:
1) when the tty is opened with O_NONBLOCK or CLOCAL is set (fixes
   wvdial)
2) when the rfcomm device is created with the flag RFCOMM_REUSE_DLC
   (fixes ModemManager)

The fourth patch removes rfcomm_dev_carrier_raised().

Changes from v1:
  * Removed the device_move() fix which is now incorporated in a new patch.

Gianluca Anzolin (4):
  rfcomm: release the port when the last user closes the tty
  rfcomm: move rfcomm_get_device() before rfcomm_dev_activate()
  rfcomm: always wait for a bt connection on open()
  rfcomm: remove rfcomm_carrier_raised()

 net/bluetooth/rfcomm/tty.c | 100 ++++++++++++++++++++++++++++-----------------
 1 file changed, 63 insertions(+), 37 deletions(-)

-- 
1.8.5.2

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2014-01-06 19:37 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-01-06 18:43 [PATCH v2 0/4] Regression fixes for rfcomm/tty.c Gianluca Anzolin
2014-01-06 18:43 ` [PATCH v2 1/4] rfcomm: release the port when the last user closes the tty Gianluca Anzolin
2014-01-06 18:43 ` [PATCH v2 2/4] rfcomm: move rfcomm_get_device() before rfcomm_dev_activate() Gianluca Anzolin
2014-01-06 18:43 ` [PATCH v2 3/4] rfcomm: always wait for a bt connection on open() Gianluca Anzolin
2014-01-06 19:17   ` Marcel Holtmann
2014-01-06 19:37     ` Gianluca Anzolin
2014-01-06 18:43 ` [PATCH v2 4/4] rfcomm: remove rfcomm_carrier_raised() Gianluca Anzolin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox