Commit Graph

11 Commits

Author SHA1 Message Date
Luiz Augusto von Dentz
43a34941ef Fix not closing fd when disconnecting on pnat plugin
This cause problems since the number of open file descriptors are
normaly limited causing errors such as:

  Can't create RFCOMM TTY: Too many open files in system
2010-09-06 10:53:45 +03:00
Johan Hedberg
6c61bb330a Fix missing cleanup for the phonet-at child process
We can't call g_remove_source for the child watch since then nobody will
call waitpid when the child dies. Instead set client->child_pid to 0
after sending SIGTERM so that the child watch function doesn't try to do
cleanup to processes that were already cleared (e.g. if an old phonet-at
process stays around while a new DUN client gets connected).

The patch is based upon the initial investigation and findings by
Dmitriy Paliy <dmitriy.paliy@nokia.com>.
2010-08-17 10:27:12 +03:00
Luiz Augusto von Dentz
4fc3ab7168 Fix not storing tty id on pnatd plugin
The code used to create the port stored the id in a local variable
instead of storing it in the client data which is used to release the
port once disconnected.
2010-08-16 14:20:30 +03:00
Gustavo F. Padovan
8e58667ef0 Move debug() to DBG()
Use the new dynamic debug feature
2010-05-21 18:21:48 +02:00
Gustavo F. Padovan
e891f7df62 Move logging.{c,h} to log.{c,h}
Try to make log stuff more similar to ConnMan and oFono.
2010-05-21 14:40:36 +02:00
Johan Hedberg
29598cc39b Update phonet-at location to match recent versions 2010-05-19 09:41:49 +02:00
Johan Hedberg
903804a0f1 Make use of common fail label in pnat_probe 2010-04-03 16:45:44 +03:00
Johan Hedberg
76208a5d26 Fix GError memory leak 2010-04-03 16:37:26 +03:00
Johan Hedberg
0a658cd945 Remove bogus if-check when DUN client disconnects 2010-04-03 16:32:36 +03:00
Johan Hedberg
895eea1347 Add initial phonet integration with the help of pnatd/phonet-at
This patch implements initial phonet support to the pnat bluetoothd
plugin by utilizing the pnatd/phonet-at phonet AT proxy/wrapper tool.
2010-04-01 15:58:23 +03:00
Johan Hedberg
1202ec1f3e Add initial skeleton for Phonet AT (DUN) plugin 2010-02-02 11:07:33 -08:00