Commit 76d6d839 authored by Grzegorz Daniluk's avatar Grzegorz Daniluk

fix clock class degradation for unlocked GM

parent f343f4f2
......@@ -65,7 +65,7 @@ void msg_pack_announce_wr_tlv(struct pp_instance *ppi)
/* GM: update clock Class, according to whether we are locked or not */
if (class < PP_CLASS_DEFAULT) {
locked = wrp->ops->locking_poll(ppi, 1);
if (locked)
if (locked > 0)
class = PP_CLASS_WR_GM_LOCKED;
else
class = PP_CLASS_WR_GM_UNLOCKED;
......
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