src/device.c : Fix BREDR-ATT MTU issue 89/179389/2
authorNagaraj D R <nagaraj.dr@samsung.com>
Thu, 17 May 2018 10:50:05 +0000 (16:20 +0530)
committerNagaraj D R <nagaraj.dr@samsung.com>
Thu, 17 May 2018 13:51:37 +0000 (13:51 +0000)
commitde49880ea231e0451363a15f250ad0a2c940fe87
tree1b495290a3ad82dffeb9ebe182aadb5553311ef0
parent94cedd3b0e3a6da8247c1774da1f8ac01de931f4
src/device.c : Fix BREDR-ATT MTU issue

For BREDR-ATT, according to spec, ATT MTU is same has
L2CAP configured MTU on which ATT is running and there won't be
ATT MTU exchange procedure. So, set the MTU to L2CAP MTU for
BREDR-ATT and for LE-ATT adjust the ATT MTU based on
EXCHANGE_MTU request and response.

Change-Id: Icd402edbfa7ddb82e808ebf695096b7a872ebc14
src/device.c