--- a/bluetoothmgmt/bluetoothclientlib/btlib/btsocket.cpp Fri Mar 12 15:49:00 2010 +0200
+++ b/bluetoothmgmt/bluetoothclientlib/btlib/btsocket.cpp Mon Mar 15 12:44:59 2010 +0200
@@ -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));