diff --git a/.gitignore b/.gitignore new file mode 100644 index 00000000..d6621174 --- /dev/null +++ b/.gitignore @@ -0,0 +1,21 @@ +# Autotools generated files +Makefile.in +/aclocal.m4 +/autom4te.cache/ +/cfg/ +/config.log +/config.status +/configure +/install-sh +/m4/ +/libtool + +# CodeQL +_codeql_detected_source_root + +# Build artifacts +*.o +*.lo +*.la +.deps/ +.libs/ diff --git a/src/ifce/btrMgr.c b/src/ifce/btrMgr.c index 17541abc..83403437 100644 --- a/src/ifce/btrMgr.c +++ b/src/ifce/btrMgr.c @@ -9091,13 +9091,13 @@ btrmgr_DisconnectDeviceTimerCb ( gAuthDisconnDevTimeOutRef = 0; // TODO: Is this really required ? Should we call btrMgr_ClearDisconnDevHoldOffTimer to perform g_source_destroy // Can we even call a g_source_destroy from the context of the timer Cb associated with the same Id/Ref ? - if (ghBTRMgrDevHdlCurStreaming != aBTRCoreDevId) { + if (ghBTRMgrDevHdlCurStreaming != aBTRCoreDevId) { if (BTRCore_DisconnectDevice (ghBTRCoreHdl, aBTRCoreDevId, lenBTRCoreDeviceType) != enBTRCoreSuccess) { BTRMGRLOG_ERROR ("Post Device disconnect Cb timeout Failed!\n"); } - } else { + } else { BTRMGRLOG_INFO("Not disconnecting device, as device has started streaming\n"); - } + } return FALSE; }