HTC control messages ready and connect service indications use CtrlResponseBuffer for processing the HTC messages. Flag CtrlResponseProcessing is used to protect this buffer from overwriting before processing. Current implementation has race condition as setting the flag happens on waiting thread context instead of receive thread context so this could lead to overwriting the CtrlResponseBuffer if waiting thread doesn't get chance to run because of may be another RX interrupt. Also to catch this kind of issues, add CDF_BUG so that it is easier to triage the cause for the malformed packet which is not expected. CRs-fixed: 881504 Change-Id: Ia279e08c761a3432cf01d4dc129f7b5439d04680 |
||
---|---|---|
.. | ||
dl_list.h | ||
htc_api.h | ||
htc_debug.h | ||
htc_internal.h | ||
htc_packet.h | ||
htc_recv.c | ||
htc_send.c | ||
htc_services.c | ||
htc.c |