Skip to content
Snippets Groups Projects
Commit 2f0a8e12 authored by Tzafrir Cohen's avatar Tzafrir Cohen Committed by Oron Peled
Browse files

openr2(1/6): bugfix in configuration saving


Details:
  - The memcpy() call copied part of "dahdi_conf" and not "dahdi_conf.mfcr2"
  - As a result, the memcmp() in dahdi_r2_get_link() always fails
  - This cause dahdi_r2_get_link() to create new link for every channel
    (instead of a new link for every ~30 channels)
  - With the fix, far less links are generated -- so we use far less threads

Change-Id: I7259dd6272f5e46e8a6c7f5bf3e8c2ec01b8c132
Signed-off-by: default avatarOron Peled <oron.peled@xorcom.com>
parent 2ba7d3c2
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment