Message ID | 20210825211415.1057804-1-luiz.dentz@gmail.com (mailing list archive) |
---|---|
State | Accepted |
Delegated to: | Luiz Von Dentz |
Headers | show |
Series | [BlueZ,1/3] shared/att: Fix accepting Exchange MTU on EATT bearer | expand |
This is automated email and please do not reply to this email! Dear submitter, Thank you for submitting the patches to the linux bluetooth mailing list. This is a CI test results with your patch series: PW Link:https://patchwork.kernel.org/project/bluetooth/list/?series=537355 ---Test result--- Test Summary: CheckPatch PASS 0.80 seconds GitLint PASS 0.32 seconds Prep - Setup ELL PASS 42.62 seconds Build - Prep PASS 0.15 seconds Build - Configure PASS 7.72 seconds Build - Make PASS 190.27 seconds Make Check PASS 9.03 seconds Make Distcheck PASS 224.50 seconds Build w/ext ELL - Configure PASS 7.65 seconds Build w/ext ELL - Make PASS 178.82 seconds Details ############################## Test: CheckPatch - PASS Desc: Run checkpatch.pl script with rule in .checkpatch.conf ############################## Test: GitLint - PASS Desc: Run gitlint with rule in .gitlint ############################## Test: Prep - Setup ELL - PASS Desc: Clone, build, and install ELL ############################## Test: Build - Prep - PASS Desc: Prepare environment for build ############################## Test: Build - Configure - PASS Desc: Configure the BlueZ source tree ############################## Test: Build - Make - PASS Desc: Build the BlueZ source tree ############################## Test: Make Check - PASS Desc: Run 'make check' ############################## Test: Make Distcheck - PASS Desc: Run distcheck to check the distribution ############################## Test: Build w/ext ELL - Configure - PASS Desc: Configure BlueZ source with '--enable-external-ell' configuration ############################## Test: Build w/ext ELL - Make - PASS Desc: Build BlueZ source with '--enable-external-ell' configuration --- Regards, Linux Bluetooth
Hi, On Wed, Aug 25, 2021 at 2:33 PM <bluez.test.bot@gmail.com> wrote: > > This is automated email and please do not reply to this email! > > Dear submitter, > > Thank you for submitting the patches to the linux bluetooth mailing list. > This is a CI test results with your patch series: > PW Link:https://patchwork.kernel.org/project/bluetooth/list/?series=537355 > > ---Test result--- > > Test Summary: > CheckPatch PASS 0.80 seconds > GitLint PASS 0.32 seconds > Prep - Setup ELL PASS 42.62 seconds > Build - Prep PASS 0.15 seconds > Build - Configure PASS 7.72 seconds > Build - Make PASS 190.27 seconds > Make Check PASS 9.03 seconds > Make Distcheck PASS 224.50 seconds > Build w/ext ELL - Configure PASS 7.65 seconds > Build w/ext ELL - Make PASS 178.82 seconds > > Details > ############################## > Test: CheckPatch - PASS > Desc: Run checkpatch.pl script with rule in .checkpatch.conf > > ############################## > Test: GitLint - PASS > Desc: Run gitlint with rule in .gitlint > > ############################## > Test: Prep - Setup ELL - PASS > Desc: Clone, build, and install ELL > > ############################## > Test: Build - Prep - PASS > Desc: Prepare environment for build > > ############################## > Test: Build - Configure - PASS > Desc: Configure the BlueZ source tree > > ############################## > Test: Build - Make - PASS > Desc: Build the BlueZ source tree > > ############################## > Test: Make Check - PASS > Desc: Run 'make check' > > ############################## > Test: Make Distcheck - PASS > Desc: Run distcheck to check the distribution > > ############################## > Test: Build w/ext ELL - Configure - PASS > Desc: Configure BlueZ source with '--enable-external-ell' configuration > > ############################## > Test: Build w/ext ELL - Make - PASS > Desc: Build BlueZ source with '--enable-external-ell' configuration > > > > --- > Regards, > Linux Bluetooth > Pushed.
diff --git a/src/shared/att.c b/src/shared/att.c index ccc753c4e..665d7f4b8 100644 --- a/src/shared/att.c +++ b/src/shared/att.c @@ -962,7 +962,8 @@ static void handle_notify(struct bt_att_chan *chan, uint8_t *pdu, * link since the MTU size is negotiated using L2CAP channel * configuration procedures. */ - if (bt_att_get_link_type(att) == BT_ATT_BREDR) { + if (bt_att_get_link_type(att) == BT_ATT_BREDR || + chan->type == BT_ATT_EATT) { switch (opcode) { case BT_ATT_OP_MTU_REQ: goto not_supported;
From: Luiz Augusto von Dentz <luiz.von.dentz@intel.com> If remote send Exchange MTU it shall fail as the MTU negotiation shall happen over L2CAP signalling not ATT for those channels. --- src/shared/att.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)