summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTzafrir Cohen <tzafrir@cohens.org.il>2010-07-31 23:01:00 +0300
committerTzafrir Cohen <tzafrir@cohens.org.il>2010-07-31 23:01:00 +0300
commitc394e7fc85e7019bc667461d3718e4e5b11347ac (patch)
tree9884b012b29e3a8a7a8065fdfb72fc9da0812336
parentdc5f7b425aaca0db635a54c96d6e4b90212d94d9 (diff)
revert index fix from zaphfc r7
Fix index fix from b447cfe (zaphfc svn rev 7). It broke systems.
-rw-r--r--drivers/dahdi/zaphfc/base.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/dahdi/zaphfc/base.c b/drivers/dahdi/zaphfc/base.c
index b69a764..60a5688 100644
--- a/drivers/dahdi/zaphfc/base.c
+++ b/drivers/dahdi/zaphfc/base.c
@@ -698,7 +698,7 @@ static int hfc_zap_initialize(struct dahdi_hfc *hfccard)
if (i == hfccard->span.channels - 1) {
hfccard->chans[i].sigcap = DAHDI_SIG_HARDHDLC;
- hfccard->sigchan = &hfccard->chans[DAHDI_D];
+ hfccard->sigchan = &hfccard->chans[D];
hfccard->sigactive = 0;
atomic_set(&hfccard->hdlc_pending, 0);
} else {