summaryrefslogtreecommitdiff
path: root/obexd/client/bluetooth.c
diff options
context:
space:
mode:
Diffstat (limited to 'obexd/client/bluetooth.c')
-rw-r--r--obexd/client/bluetooth.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/obexd/client/bluetooth.c b/obexd/client/bluetooth.c
index be007de61..e35124a0c 100644
--- a/obexd/client/bluetooth.c
+++ b/obexd/client/bluetooth.c
@@ -443,8 +443,8 @@ static int bluetooth_getpacketopt(GIOChannel *io, int *tx_mtu, int *rx_mtu)
{
int sk = g_io_channel_unix_get_fd(io);
int type;
- int omtu = -1;
- int imtu = -1;
+ uint16_t omtu = BT_TX_MTU;
+ uint16_t imtu = BT_RX_MTU;
socklen_t len = sizeof(int);
DBG("");