summaryrefslogtreecommitdiffstats
path: root/src/direct_bt/BTDevice.cpp
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2022-04-10 02:14:47 +0200
committerSven Gothel <[email protected]>2022-04-10 02:14:47 +0200
commit3f1baddbb3298109626456dd70e5319df18df417 (patch)
tree7b1154d0b0e17fa60061e6ddaca7e242bfcdd5b7 /src/direct_bt/BTDevice.cpp
parent35ecc48639ae1dd20a3d7e4428559cc199e0ca28 (diff)
L2CAPComm: Rename L2CAP{Comm->Client} and have L2CAP{Client,Server} derive from new common L2CAPClientServer
This is a preparation to utilize common setBTSecurityLevelImpl(..) for L2CAPServer w/o code duplication.
Diffstat (limited to 'src/direct_bt/BTDevice.cpp')
-rw-r--r--src/direct_bt/BTDevice.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/direct_bt/BTDevice.cpp b/src/direct_bt/BTDevice.cpp
index f2269330..77f9af6e 100644
--- a/src/direct_bt/BTDevice.cpp
+++ b/src/direct_bt/BTDevice.cpp
@@ -46,7 +46,7 @@ using namespace direct_bt;
BTDevice::BTDevice(const ctor_cookie& cc, BTAdapter & a, EInfoReport const & r)
: adapter(a), btRole(!a.getRole()),
- l2cap_att( std::make_unique<L2CAPComm>(adapter.getAddressAndType(), L2CAP_PSM::UNDEFINED, L2CAP_CID::ATT) ), // copy elision, not copy-ctor
+ l2cap_att( std::make_unique<L2CAPClient>(adapter.getAddressAndType(), L2CAP_PSM::UNDEFINED, L2CAP_CID::ATT) ), // copy elision, not copy-ctor
ts_last_discovery(r.getTimestamp()),
ts_last_update(ts_last_discovery),
eir( std::make_shared<EInfoReport>() ),