Skip to content
Snippets Groups Projects
Commit 497308b5 authored by George Joseph's avatar George Joseph Committed by Gerrit Code Review
Browse files

Merge "openr2(1/6): bugfix in configuration saving"

parents 799c4cf4 2f0a8e12
No related branches found
No related tags found
No related merge requests found
......@@ -11925,7 +11925,7 @@ static int dahdi_r2_set_context(struct dahdi_mfcr2 *r2_link, const struct dahdi_
}
}
/* Save the configuration used to setup this link */
memcpy(&r2_link->conf, conf, sizeof(r2_link->conf));
memcpy(&r2_link->conf, &conf->mfcr2, sizeof(r2_link->conf));
return 0;
}
#endif
......
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