From: Sujith Manoharan Date: Tue, 10 Jan 2012 04:23:53 +0000 (+0530) Subject: ath6kl: Initialize a variable properly X-Git-Tag: v3.4-rc1~177^2~48^2~55^2~83 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=cbec267a5143f70ece4069d18889a442bcb3365b;p=platform%2Fkernel%2Flinux-exynos.git ath6kl: Initialize a variable properly This prevents 'comp_pktq' from being used in an incorrect manner. Signed-off-by: Sujith Manoharan Signed-off-by: Kalle Valo --- diff --git a/drivers/net/wireless/ath/ath6kl/htc.c b/drivers/net/wireless/ath/ath6kl/htc.c index b017022..2d72190 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; /*