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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



---
 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

--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux