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

13.29
George Joseph 6 years ago committed by Gerrit Code Review
commit 0cded803ec

@ -11992,7 +11992,7 @@ static int dahdi_r2_set_context(struct dahdi_mfcr2 *r2_link, const struct dahdi_
} }
} }
/* Save the configuration used to setup this link */ /* 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; return 0;
} }
#endif #endif

Loading…
Cancel
Save