sysrepo UPDATE allow update option for passive subs
@@ -4625,8 +4625,8 @@ sr_module_change_subscribe(sr_session_ctx_t *session, const char *module_name, c
sr_subscr_options_t sub_opts;
sr_mod_t *shm_mod;
- SR_CHECK_ARG_APIRET(!session || SR_IS_EVENT_SESS(session) || !module_name || !callback ||
- ((opts & SR_SUBSCR_PASSIVE) && (opts & SR_SUBSCR_ENABLED)) || !subscription, session, err_info);
+ SR_CHECK_ARG_APIRET(!session || SR_IS_EVENT_SESS(session) || !module_name || !callback || !subscription,
+ session, err_info);
SR_MODINFO_INIT(mod_info, session->conn, SR_DS_RUNNING, SR_DS_RUNNING);
