FM: Notify ON to upper layer, only If TX & RX threads are actually running
A case, where there is a delay(eg 4ms) to start tx worker thread
by OS or platform. FM ON is immediately notified to upper layer after
creating threads, Upper layer immediately sends FM commands. which won't
be sent to transport layer, as tx thread is not yet running. which
immediately leads FM on failure, Hence notifying ON to upper layer,
only If tx & rx threads are actually running.
CRs-fixed: 2063882
Change-Id: I1817e9f31906090bcf180db4f2df5e711389b2f2
2 files changed