Skip to content
Snippets Groups Projects
Commit 76d6d839 authored by Grzegorz Daniluk's avatar Grzegorz Daniluk
Browse files

fix clock class degradation for unlocked GM

parent f343f4f2
No related merge requests found
......@@ -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;
......
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