{
boost::shared_ptr<Ports> p = ports.reader ();
- /* re-establish connections */
-
- DEBUG_TRACE (DEBUG::Ports, string_compose ("reconnect %1 ports\n", p->size()));
-
- for (Ports::iterator i = p->begin(); i != p->end(); ++i) {
- i->second->reconnect ();
+ if (!Profile->get_trx()) {
+ /* re-establish connections */
+
+ DEBUG_TRACE (DEBUG::Ports, string_compose ("reconnect %1 ports\n", p->size()));
+
+ for (Ports::iterator i = p->begin(); i != p->end(); ++i) {
+ i->second->reconnect ();
+ }
}
return 0;