OSDN Git Service

Add a way to enforce l2cap security by requirement
authorHansong Zhang <hsz@google.com>
Tue, 1 Sep 2020 23:44:37 +0000 (16:44 -0700)
committerHansong Zhang <hsz@google.com>
Wed, 2 Sep 2020 00:13:18 +0000 (17:13 -0700)
commitc48cbb200b6fca0ada309c245a2807cabf37fda9
treec883959629ad41a611c951222643829907ec83ea
parentc72d15f9e0c6cf2142eb5439f8ad571d69220eb7
Add a way to enforce l2cap security by requirement

Instead of finding the service from psm, and finding the requirement
from the service record, enforce that specific requirement directly

Bug: 159815595
Tag: #refactor
Test: compile & verify basic functions working
Change-Id: I4614e05ef59e37d466578f4d86122b41a56121cd
stack/btm/btm_sec.cc
stack/btm/btm_sec.h