diff -r eede1356aa52 -r 0ba996a9b75d bluetoothengine/btmac/src/btmonobearer/bmbcmdlistener.cpp --- a/bluetoothengine/btmac/src/btmonobearer/bmbcmdlistener.cpp Thu Jul 15 18:50:18 2010 +0300 +++ b/bluetoothengine/btmac/src/btmonobearer/bmbcmdlistener.cpp Thu Aug 19 10:05:41 2010 +0300 @@ -35,6 +35,7 @@ Cancel(); iATCmdProperty.Close(); iATRespProperty.Close(); + iAtCmdBuf.Close(); } // --------------------------------------------------------------------------- @@ -60,6 +61,7 @@ TRACE_FUNC LEAVE_IF_ERROR(iATCmdProperty.Attach(KPSUidBluetoothEnginePrivateCategory, KBTHfpATCommand)); LEAVE_IF_ERROR(iATRespProperty.Attach(KPSUidBluetoothEnginePrivateCategory, KBTHfpATResponse)); + iAtCmdBuf.CreateL(KDefaultCmdBufLength); Subscribe(); }