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

This commit is contained in:
George Joseph
2019-07-23 13:02:42 -05:00
committed by Gerrit Code Review
+1 -1
View File
@@ -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