diff options
author | Sujith Manoharan <c_manoha@qca.qualcomm.com> | 2012-01-10 09:53:53 +0530 |
---|---|---|
committer | Kalle Valo <kvalo@qca.qualcomm.com> | 2012-01-12 13:36:37 +0200 |
commit | cbec267a5143f70ece4069d18889a442bcb3365b (patch) | |
tree | de15f5eeb77712adee2124764fdcee6a9f19aa54 /drivers/net/wireless/ath/ath6kl/htc.c | |
parent | 4a8ce2fd055f8c117fb6fa6da39af8f62cbffe4b (diff) |
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>
Diffstat (limited to 'drivers/net/wireless/ath/ath6kl/htc.c')
-rw-r--r-- | drivers/net/wireless/ath/ath6kl/htc.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/ath/ath6kl/htc.c b/drivers/net/wireless/ath/ath6kl/htc.c index b01702258fa..2d721903640 100644 --- a/drivers/net/wireless/ath/ath6kl/htc.c +++ b/drivers/net/wireless/ath/ath6kl/htc.c @@ -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; /* |