summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorTimur Pocheptsov <timur.pocheptsov@qt.io>2021-07-05 14:00:59 +0200
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2021-07-20 09:14:25 +0000
commit4288373c60c4da8ab0489b48150b1bda25ea5f8e (patch)
treeab7807454399d9a8e3e23ebc7a0a46bd99ba812e /src
parent5db596c87e0c846ca3454f1e9e27668efc2f006b (diff)
LE controller (CoreBluetooth): do not emit MTU change on disconnected
Makes little sense to report the 'default' MTU from the 'didDisconnect' callback. Change-Id: Id186431234d22695409287847bb8614cf3a7ad7b Reviewed-by: Andreas Buhr <andreas.buhr@qt.io> Reviewed-by: Alex Blasche <alexander.blasche@qt.io> (cherry picked from commit ebae4d82705ccff3d3bc32bce88bf72eb11833d9) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'src')
-rw-r--r--src/bluetooth/darwin/btcentralmanager.mm1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/bluetooth/darwin/btcentralmanager.mm b/src/bluetooth/darwin/btcentralmanager.mm
index d0c8bea2..3d026d74 100644
--- a/src/bluetooth/darwin/btcentralmanager.mm
+++ b/src/bluetooth/darwin/btcentralmanager.mm
@@ -1367,7 +1367,6 @@ using DiscoveryMode = QLowEnergyService::DiscoveryMode;
Q_UNUSED(central);
Q_UNUSED(aPeripheral);
- [self setMtu:DarwinBluetooth::defaultMtu];
// Clear internal caches/data.
[self reset];