# HG changeset patch # User Dremov Kirill (Nokia-D-MSW/Tampere) # Date 1279212849 -10800 # Node ID 3b2fb68d23df48dc2bca861ed21d9051efe7e381 # Parent a9524956f6b580bda60fd5ae00519202208e7ae8 Revision: 201024 Kit: 2010127 diff -r a9524956f6b5 -r 3b2fb68d23df hotspotfw/hsserver/src/hssiapsettingshandler.cpp --- a/hotspotfw/hsserver/src/hssiapsettingshandler.cpp Mon Jun 21 16:55:05 2010 +0300 +++ b/hotspotfw/hsserver/src/hssiapsettingshandler.cpp Thu Jul 15 19:54:09 2010 +0300 @@ -310,16 +310,12 @@ wlanRecordNew->ModifyL( *dbSession ); CleanupStack::PopAndDestroy( wlanRecordNew ); - dbSession->CommitTransactionL(); - - dbSession->Close(); - CleanupStack::PopAndDestroy( dbSession ); - CleanupStack::Pop( 1 ); // transaction rollback popped dbSession->CommitTransactionL(); - - + + dbSession->Close(); + CleanupStack::PopAndDestroy( dbSession ); DEBUG("CHssIapSettingsHandler::SaveWEPKey Done"); }