| Index: tools/battor_agent/battor_connection_impl.cc
|
| diff --git a/tools/battor_agent/battor_connection_impl.cc b/tools/battor_agent/battor_connection_impl.cc
|
| index 0677ea08155a6b1cb9b824e91479bcb4c80aaf34..e3dfa2df282e7eda11fef5d694c7320628d1800b 100644
|
| --- a/tools/battor_agent/battor_connection_impl.cc
|
| +++ b/tools/battor_agent/battor_connection_impl.cc
|
| @@ -80,6 +80,8 @@ BattOrConnectionImpl::~BattOrConnectionImpl() {}
|
|
|
| void BattOrConnectionImpl::Open() {
|
| if (io_handler_) {
|
| + // Opening new connection so flush serial data from old connection.
|
| + Flush();
|
| OnOpened(true);
|
| return;
|
| }
|
|
|