Commit: ea2718060e53386a1b85abe298b20096f067488f
Parent: 185c7ce8a4f22e9c9ecc9321a853ed8115f5aeaa
Author: Andre Guedes <andre.guedes@openbossa.org>
Committer: Johan Hedberg <johan.hedberg@intel.com>
Date: 2012-06-07 04:27:24
Tree: e7e181f1c0cbe1a86bde913bba7655805f4a1681

gattrib: Fix g_attrib_set_mtu 23 octets is the default (and minimum) ATT_MTU value. If someone tries to set ATT_MTU less than 23 octets g_attrib_set_mtu should fail (return FALSE). Additionally, there is no constraint regarding the maximum value of ATT_MTU, so we should not check for it. Also, we should not change the L2CAP ATT fixed channel MTU. bt_io_set call will always fail since we are not supposed to change L2CAP MTU after connection is established.

Diffstat

M attrib/gattrib.c | 8 - - - - - - - -

1 files changed, 0 insertions(+), 8 deletions(-)

View Full Diff | Patch