--- a/bluetoothmgmt/bluetoothclientlib/btlib/btsocket.cpp Fri Mar 19 09:53:48 2010 +0200
+++ b/bluetoothmgmt/bluetoothclientlib/btlib/btsocket.cpp Fri Apr 16 16:09:25 2010 +0300
@@ -2792,11 +2792,8 @@
void CAutoSniffDelayTimer::StartActive()
{
Start();
- if(iSniffModeRequested)
- {
- // When enabling auto sniffing, we make use of Explicit active mode.
- (void)MbbhBTBaseband().RequestExplicitActiveMode(ETrue);
- }
+ // When enabling auto sniffing, we make use of Explicit active mode.
+ (void)MbbhBTBaseband().RequestExplicitActiveMode(ETrue);
}
RBTBaseband& CAutoSniffDelayTimer::MbbhBTBaseband()
@@ -2814,7 +2811,7 @@
if(iSniffModeRequested)
{
MbbhBTBaseband().CancelLowPowerModeRequester();
- StartActive();
+ iSniffModeRequested = EFalse;
}
}
__ASSERT_ALWAYS(iBTAutoSniffBasebandChangeEventNotifier != NULL, Panic(EBBInvalidAddress));