From: Tomasz Bursztyka <tomasz.bursztyka@linux.intel.com>
To: linux-bluetooth@vger.kernel.org
Cc: Tomasz Bursztyka <tomasz.bursztyka@linux.intel.com>
Subject: [PATCH 5/5] network: Remove sessions from server on DBus call Unregister
Date: Tue, 21 Aug 2012 13:45:55 +0300 [thread overview]
Message-ID: <1345545955-13144-6-git-send-email-tomasz.bursztyka@linux.intel.com> (raw)
In-Reply-To: <1345545955-13144-1-git-send-email-tomasz.bursztyka@linux.intel.com>
---
profiles/network/server.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/profiles/network/server.c b/profiles/network/server.c
index 1b9989d..cfad893 100644
--- a/profiles/network/server.c
+++ b/profiles/network/server.c
@@ -611,6 +611,8 @@ static void server_disconnect(DBusConnection *conn, void *user_data)
{
struct network_server *ns = user_data;
+ server_remove_sessions(ns);
+
ns->watch_id = 0;
if (ns->record_id) {
--
1.7.8.6
next prev parent reply other threads:[~2012-08-21 10:45 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-08-21 10:45 [PATCH 0/5] PAN server fixes Tomasz Bursztyka
2012-08-21 10:45 ` [PATCH 1/5] network: Keep track of session's interface name in server Tomasz Bursztyka
2012-08-21 10:45 ` [PATCH 2/5] network: Add helper function to remove an interface from a bridge Tomasz Bursztyka
2012-08-21 10:45 ` [PATCH 3/5] network: Release session's interface from bridge when unregistering Tomasz Bursztyka
2012-08-21 10:45 ` [PATCH 4/5] network: Kill underlying session's connection before freeing it Tomasz Bursztyka
2012-08-21 10:45 ` Tomasz Bursztyka [this message]
2012-08-24 7:54 ` [PATCH 0/5] PAN server fixes Luiz Augusto von Dentz
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1345545955-13144-6-git-send-email-tomasz.bursztyka@linux.intel.com \
--to=tomasz.bursztyka@linux.intel.com \
--cc=linux-bluetooth@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox