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

This commit is contained in:
Friendly Automation 2019-07-23 12:00:19 -05:00 committed by Gerrit Code Review
commit 6e33772432
1 changed files with 1 additions and 1 deletions

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