qcacmn: Initialize the local variable do_pm_get to false

Initialize the local variable do_pm_get to false to avoid using the
uninitialized variable potentially.

Change-Id: Ie45126b05afee1d4e5bb061189846bc8e301c2a6
CRs-fixed: 2215809
This commit is contained in:
Tiger Yu
2018-03-30 14:58:02 +08:00
committato da nshrivas
parent d6c4f2209c
commit 054a6a4fd4

Vedi File

@@ -872,7 +872,7 @@ static void get_htc_send_packets(HTC_TARGET *target,
HTC_PACKET *pPacket;
HTC_PACKET_QUEUE *tx_queue;
HTC_PACKET_QUEUE pm_queue;
bool do_pm_get;
bool do_pm_get = false;
/*** NOTE : the TX lock is held when this function is called ***/
AR_DEBUG_PRINTF(ATH_DEBUG_SEND,