summaryrefslogtreecommitdiff
path: root/drivers/dahdi/adt_lec.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/dahdi/adt_lec.c')
-rw-r--r--drivers/dahdi/adt_lec.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/dahdi/adt_lec.c b/drivers/dahdi/adt_lec.c
index 02c1322..18de6c0 100644
--- a/drivers/dahdi/adt_lec.c
+++ b/drivers/dahdi/adt_lec.c
@@ -29,8 +29,10 @@
static inline void adt_lec_init_defaults(struct adt_lec_params *params, __u32 tap_length)
{
- memset(params, 0, sizeof(*params));
params->tap_length = tap_length;
+ params->nlp_type = 0;
+ params->nlp_max_suppress = 0;
+ params->nlp_threshold = 0;
}
static int adt_lec_parse_params(struct adt_lec_params *params,