Diff between fa188ac35531bbebac95a0aeb5d9fe4f32ef3139 and 0da72fee044f96e7e6a4715dc7aab48eb8c1d5cb

Changed Files

File Additions Deletions Status
src/device.c +1 -1 modified

Full Patch

diff --git a/src/device.c b/src/device.c
index 73bcc8f..fcb2378 100644
--- a/src/device.c
+++ b/src/device.c
@@ -4792,7 +4792,7 @@ bool device_attach_att(struct btd_device *dev, GIOChannel *io)
 	}
 
 	dev->att_mtu = MIN(mtu, BT_ATT_MAX_LE_MTU);
-	attrib = g_attrib_new(io, dev->att_mtu, false);
+	attrib = g_attrib_new(io, BT_ATT_DEFAULT_LE_MTU, false);
 	if (!attrib) {
 		error("Unable to create new GAttrib instance");
 		return false;