]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Buffer policy setting for half is not needed.
authorJeff Peeler <jpeeler@digium.com>
Mon, 27 Oct 2008 23:28:49 +0000 (23:28 +0000)
committerJeff Peeler <jpeeler@digium.com>
Mon, 27 Oct 2008 23:28:49 +0000 (23:28 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@152286 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_dahdi.c

index 5bd2bd9f71517c8d29718b0e45186620b93230e5..e3d73ac3f3433e56fd304b2c6d567a5cfd463bd8 100644 (file)
@@ -11002,8 +11002,6 @@ static int process_dahdi(struct dahdi_chan_conf *confp, const char *cat, struct
                                confp->chan.buf_no = numbufs;
                        if (!strcasecmp(policy, "full")) {
                                confp->chan.buf_policy = DAHDI_POLICY_WHEN_FULL;
-                       } else if (!strcasecmp(policy, "half")) {
-                               confp->chan.buf_policy = DAHDI_POLICY_IMMEDIATE /* TODO: change to HALF_FULL */;
                        } else if (!strcasecmp(policy, "immediate")) {
                                confp->chan.buf_policy = DAHDI_POLICY_IMMEDIATE;
                        } else {