Commit b4caf17e authored by Alessandro Rubini's avatar Alessandro Rubini

LOCAL: abscal in master, not in grandmaster

Signed-off-by: Alessandro Rubini's avatarAlessandro Rubini <rubini@gnudd.com>
parent e6bc10d1
......@@ -131,7 +131,6 @@ int wrc_ptp_set_mode(int mode)
switch (mode) {
case WRC_MODE_GM:
case WRC_MODE_ABSCAL: /* absolute calibration, gm-lookalike */
wrp->wrConfig = WR_M_ONLY;
ppi->role = PPSI_ROLE_MASTER;
*class_ptr = PP_CLASS_WR_GM_LOCKED;
......@@ -142,6 +141,7 @@ int wrc_ptp_set_mode(int mode)
m1(ppi);
break;
case WRC_MODE_ABSCAL:
case WRC_MODE_MASTER:
wrp->wrConfig = WR_M_ONLY;
ppi->role = PPSI_ROLE_MASTER;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment