Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit cbec267a authored by Sujith Manoharan's avatar Sujith Manoharan Committed by Kalle Valo
Browse files

ath6kl: Initialize a variable properly



This prevents 'comp_pktq' from being used in an
incorrect manner.

Signed-off-by: default avatarSujith Manoharan <c_manoha@qca.qualcomm.com>
Signed-off-by: default avatarKalle Valo <kvalo@qca.qualcomm.com>
parent 4a8ce2fd
Loading
Loading
Loading
Loading
+1 −0
Original line number Original line Diff line number Diff line
@@ -2062,6 +2062,7 @@ int ath6kl_htc_rxmsg_pending_handler(struct htc_target *target,
	enum htc_endpoint_id id;
	enum htc_endpoint_id id;
	int n_fetched = 0;
	int n_fetched = 0;


	INIT_LIST_HEAD(&comp_pktq);
	*num_pkts = 0;
	*num_pkts = 0;


	/*
	/*