Diff between 2a94607646b7380b1ef8b734184e11971477057d and ae33bcb8a4a90294b3ca60bf3587204bc9370758

Changed Files

File Additions Deletions Status
tools/obex-server-tool.c +1 -1 modified

Full Patch

diff --git a/tools/obex-server-tool.c b/tools/obex-server-tool.c
index 7db153e..07d1328 100644
--- a/tools/obex-server-tool.c
+++ b/tools/obex-server-tool.c
@@ -324,7 +324,7 @@ static guint bluetooth_listen(void)
 	}
 
 	if (option_packet || option_channel > 31) {
-		type = BT_IO_L2CAP;
+		type = option_packet ? BT_IO_L2CAP : BT_IO_L2ERTM;
 		option = BT_IO_OPT_PSM;
 	} else {
 		type = BT_IO_RFCOMM;