Thread (19 messages) flat view 19 messages, 3 authors, 2011-06-21
STALE5534d

[PATCH obexd 10/14] Add psm member in session_data struct.

From: Nami <hidden>
Date: 2011-06-20 09:44:56
Subsystem: the rest · Maintainer: Linus Torvalds

---
 client/session.c |    1 +
 client/session.h |    1 +
 2 files changed, 2 insertions(+), 0 deletions(-)
 mode change 100644 => 100755 client/session.h
diff --git a/client/session.c b/client/session.c
index 3db1c1d..8a6ee2c 100755
--- a/client/session.c
+++ b/client/session.c
@@ -561,6 +561,7 @@ struct session_data *session_create(const char *source,

 	session->refcount = 1;
 	session->channel = channel;
+	session->psm = psm;

 	session->conn = dbus_bus_get(DBUS_BUS_SESSION, NULL);
 	if (session->conn == NULL) {
diff --git a/client/session.h b/client/session.h
old mode 100644
new mode 100755
index af79ac8..9180e75
--- a/client/session.h
+++ b/client/session.h
@@ -36,6 +36,7 @@ struct session_data {
 	bdaddr_t src;
 	bdaddr_t dst;
 	uint8_t channel;
+	uint16_t psm;  /* GOEP v2.0 and later supprot OBEX over L2CAP */
 	char *service;		/* Service friendly name */
 	const char *target;	/* OBEX Target UUID */
 	int target_len;
--
1.7.1
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help