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

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
...@@ -2062,6 +2062,7 @@ int ath6kl_htc_rxmsg_pending_handler(struct htc_target *target, ...@@ -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;
/* /*
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment