mirror of
https://github.com/rd-stuffs/msm-4.14.git
synced 2025-02-20 11:45:48 +08:00
ath6kl: Initialize a variable properly
This prevents 'comp_pktq' from being used in an incorrect manner. Signed-off-by: Sujith Manoharan <c_manoha@qca.qualcomm.com> Signed-off-by: Kalle Valo <kvalo@qca.qualcomm.com>
This commit is contained in:
parent
4a8ce2fd05
commit
cbec267a51
@ -2062,6 +2062,7 @@ int ath6kl_htc_rxmsg_pending_handler(struct htc_target *target,
|
||||
enum htc_endpoint_id id;
|
||||
int n_fetched = 0;
|
||||
|
||||
INIT_LIST_HEAD(&comp_pktq);
|
||||
*num_pkts = 0;
|
||||
|
||||
/*
|
||||
|
Loading…
x
Reference in New Issue
Block a user