[svn-commits] dbailey: linux/trunk r7194 - /linux/trunk/drivers/dahdi/wctdm.c

SVN commits to the Digium repositories svn-commits at lists.digium.com
Tue Sep 22 09:03:59 CDT 2009


Author: dbailey
Date: Tue Sep 22 09:03:53 2009
New Revision: 7194

URL: http://svnview.digium.com/svn/dahdi?view=rev&rev=7194
Log:
wctdm: Add missing break

A break was missing that caused DAHDI_ONHOOKTRANSFER ioctl call to fall into 
DAHDI_SETPOLARITY ioctl call. 

(issue #14261)
Reported by: alecdavis
Patches:
      wctdm_fix_ONHOOKTRANSFER.diff.txt uploaded by alecdavis (license 585)
Tested by: alecdavis


Modified:
    linux/trunk/drivers/dahdi/wctdm.c

Modified: linux/trunk/drivers/dahdi/wctdm.c
URL: http://svnview.digium.com/svn/dahdi/linux/trunk/drivers/dahdi/wctdm.c?view=diff&rev=7194&r1=7193&r2=7194
==============================================================================
--- linux/trunk/drivers/dahdi/wctdm.c (original)
+++ linux/trunk/drivers/dahdi/wctdm.c Tue Sep 22 09:03:53 2009
@@ -1952,6 +1952,7 @@
 			wctdm_setreg(wc, chan->chanpos - 1,
 				      LINE_STATE, fxs->lasttxhook);
 		}
+		break;
 	case DAHDI_SETPOLARITY:
 		if (wc->modtype[chan->chanpos - 1] != MOD_TYPE_FXS)
 			return -EINVAL;




More information about the svn-commits mailing list