projects
/
platform
/
upstream
/
ofono.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eef6701
)
slc: Make sure to initialize variables
author
Denis Kenzior
<denkenz@gmail.com>
Fri, 31 Jan 2014 21:05:25 +0000
(15:05 -0600)
committer
Denis Kenzior
<denkenz@gmail.com>
Mon, 20 Oct 2014 18:40:28 +0000
(13:40 -0500)
drivers/hfpmodem/slc.c
patch
|
blob
|
history
diff --git
a/drivers/hfpmodem/slc.c
b/drivers/hfpmodem/slc.c
index
1ad80a9
..
14e56af
100644
(file)
--- a/
drivers/hfpmodem/slc.c
+++ b/
drivers/hfpmodem/slc.c
@@
-82,6
+82,9
@@
void hfp_slc_info_init(struct hfp_slc_info *info, guint16 version)
goto done;
info->hf_features |= HFP_HF_FEATURE_HF_INDICATORS;
+ memset(info->hf_indicators, 0, sizeof(info->hf_indicators));
+ info->num_hf_indicators = 0;
+ info->hf_indicator_active_map = 0;
done:
memset(info->cind_val, 0, sizeof(info->cind_val));