eap_proxy: avoid killing eap_proxy_post_init

The function "eap_proxy_deinit" killing the
"eap_proxy_post_init" thread may cause the memory
access failure when "eap_proxy_post_init" is
waiting for QMI response. The QMI response buffer
is allocated in the thread stack. The memory
will be invalid when the thread is killed.

The fix is to avoid killing the thread "eap_proxy_post_init"
and let deinit thread waiting for ap_proxy_post_init
thread natural exit.

Change-Id: I43e29f03efd274e40c37b2040fdef5a0afa651ac
CRs-Fixed: 2016541
1 file changed