Remove initial CHPP work thread do work
The initial call to chppTransportDoWork() is not necessary,
because chppTransportSendReset() will send a signal to the
work thread and will be processed afterwards.
Bug: 160899751
Test: Run code and verify no duplicate signals received
Change-Id: I96a2bd52d6b4ae5f5ed4979034d66813b425faf2
diff --git a/chpp/transport.c b/chpp/transport.c
index 94407a9..ffbb72f 100644
--- a/chpp/transport.c
+++ b/chpp/transport.c
@@ -1076,7 +1076,6 @@
void chppWorkThreadStart(struct ChppTransportState *context) {
chppTransportSendReset(context, CHPP_TRANSPORT_ATTR_RESET);
- chppTransportDoWork(context);
CHPP_LOGI("CHPP Work Thread started");
while (true) {