Export to GitHub

btstack - issue #378

Reject connection when PSM == SDP


Posted on Feb 5, 2014 by Grumpy Camel

Incoming SDP connection will still be rejected even if l2cap_security_level_0_allowed_for_PSM() returns true.

I think that's a bug in l2cap.c, line 914.

The condition should be

!l2cap_security_level_0_allowed_for_PSM(psm)

other than

l2cap_security_level_0_allowed_for_PSM(psm).

Sorry for my poor English.

Comment #1

Posted on Feb 7, 2014 by Swift Ox

Thanks for spotting this. You're right. I've fixed it in r2354

Status: Fixed

Labels:
Type-Defect Priority-High