projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4a8ce2f
)
ath6kl: Initialize a variable properly
author
Sujith Manoharan
<
[email protected]
>
Tue, 10 Jan 2012 04:23:53 +0000
(09:53 +0530)
committer
Kalle Valo
<
[email protected]
>
Thu, 12 Jan 2012 11:36:37 +0000
(13:36 +0200)
This prevents 'comp_pktq' from being used in an
incorrect manner.
Signed-off-by: Sujith Manoharan <
[email protected]
>
Signed-off-by: Kalle Valo <
[email protected]
>
drivers/net/wireless/ath/ath6kl/htc.c
patch
|
blob
|
history
diff --git
a/drivers/net/wireless/ath/ath6kl/htc.c
b/drivers/net/wireless/ath/ath6kl/htc.c
index b01702258faf156d9b02e304c0b28688cb5f656a..2d721903640b51015e2202773cb4ba9a65041a08 100644
(file)
--- 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;
/*