[asterisk-bugs] [DAHDI-linux 0015178]: [patch] Typing error fo kewlstart.

Asterisk Bug Tracker noreply at bugs.digium.com
Fri Aug 21 10:43:11 CDT 2009


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=15178 
====================================================================== 
Reported By:                KrisV
Assigned To:                
====================================================================== 
Project:                    DAHDI-linux
Issue ID:                   15178
Category:                   dahdi (the module)
Reproducibility:            N/A
Severity:                   minor
Priority:                   normal
Status:                     ready for testing
====================================================================== 
Date Submitted:             2009-05-22 05:02 CDT
Last Modified:              2009-08-21 10:43 CDT
====================================================================== 
Summary:                    [patch] Typing error fo kewlstart.
Description: 
Dahdi 2.1.0.4:
dahdi_base.c/static int dahdi_q_sig(struct dahdi_chan *chan)
static const unsigned int in_sig[NUM_SIGS][2] = {
 { DAHDI_SIG_NONE,  0 },
 { DAHDI_SIG_EM,    (DAHDI_ABIT << 8) },
 { DAHDI_SIG_FXSLS, DAHDI_BBIT | (DAHDI_BBIT << 8) },
 { DAHDI_SIG_FXSGS, DAHDI_ABIT | DAHDI_BBIT | ((DAHDI_ABIT | DAHDI_BBIT)
<< 8) },
 { DAHDI_SIG_FXSKS, DAHDI_BBIT | DAHDI_BBIT | ((DAHDI_ABIT | DAHDI_BBIT)
<< 8) },
 { DAHDI_SIG_FXOLS, (DAHDI_ABIT << 8) },
 { DAHDI_SIG_FXOGS, DAHDI_BBIT | ((DAHDI_ABIT | DAHDI_BBIT) << 8) },
 { DAHDI_SIG_FXOKS, (DAHDI_ABIT << 8) },
 { DAHDI_SIG_SF,    0 },
 { DAHDI_SIG_EM_E1, DAHDI_DBIT | ((DAHDI_ABIT | DAHDI_DBIT) << 8) },
};

1) Maybe { DAHDI_SIG_FXSKS, DAHDI_ABIT | DAHDI_BBIT | ((DAHDI_ABIT |
DAHDI_BBIT) << 8) }, 
  instead of { DAHDI_SIG_FXSKS, DAHDI_BBIT | DAHDI_BBIT | ((DAHDI_ABIT |
DAHDI_BBIT) << 8) },
====================================================================== 

---------------------------------------------------------------------- 
 (0109450) svnbot (reporter) - 2009-08-21 10:43
 https://issues.asterisk.org/view.php?id=15178#c109450 
---------------------------------------------------------------------- 
Repository: dahdi
Revision: 7057

U   linux/trunk/drivers/dahdi/dahdi-base.c

------------------------------------------------------------------------
r7057 | qwell | 2009-08-21 10:43:10 -0500 (Fri, 21 Aug 2009) | 11 lines

Remove duplicate-ish code that has existed since r40 (committed 8 years
ago).

After a long discussion, it was decided that this was the best action
since
there was no apparent issue caused by it.  The alternative suggestion was
to
change the extra BBIT to an ABIT as FXSLS uses.  Because of the nature of
this code, it was deemed to be a bit (you see what I did there?) too
risky.
Who would've expected such a small change to be so complex?

(closes issue https://issues.asterisk.org/view.php?id=15178)
Reported by: KrisV

------------------------------------------------------------------------

http://svn.digium.com/view/dahdi?view=rev&revision=7057 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-08-21 10:43 svnbot         Checkin                                      
2009-08-21 10:43 svnbot         Note Added: 0109450                          
======================================================================




More information about the asterisk-bugs mailing list