fix typo, sorry
[asterisk/asterisk.git] / channels / chan_dahdi.c
index ee85f13..d8950ee 100644 (file)
@@ -11290,7 +11290,7 @@ static struct dahdi_pvt *mkintf(int channel, const struct dahdi_chan_conf *conf,
                ast_copy_string(tmp->context, conf->chan.context, sizeof(tmp->context));
                ast_copy_string(tmp->parkinglot, conf->chan.parkinglot, sizeof(tmp->parkinglot));
                tmp->cid_ton = 0;
-               if (analog_lib_handles(p->sig, p->radio, p->oprmode))
+               if (analog_lib_handles(tmp->sig, tmp->radio, tmp->oprmode)) {
                        ast_copy_string(tmp->cid_num, conf->chan.cid_num, sizeof(tmp->cid_num));
                        ast_copy_string(tmp->cid_name, conf->chan.cid_name, sizeof(tmp->cid_name));
                } else {