Index: /source/ariba/utility/transport/rfcomm/rfcomm.cpp
===================================================================
--- /source/ariba/utility/transport/rfcomm/rfcomm.cpp	(revision 5425)
+++ /source/ariba/utility/transport/rfcomm/rfcomm.cpp	(revision 5428)
@@ -381,4 +381,5 @@
 	if (info->sending || !info->up || info->send_buffer.size()==0) return;
 
+	info->sending = true;
 	logging_debug("Sending messages ...");
 
@@ -412,4 +413,5 @@
 	if (error) {
 		logging_error( "Message sent error. Error code: "<< error.message() );
+		info->sending = false;
 		shutdown(info);
 		return;
@@ -424,4 +426,5 @@
 	// free buffer
 	delete [] buffer;
+	info->sending = false;
 
 	// restart-write
