I am working with IPNC RDK 5.1 release and i am facing an issue with message queue used in the file ApproDrvMsg.c.
The value of qid passed as argument to msgsnd() function call from SendDmvaEnableMsg() function is coming as zero, instead of a proper value. It seems the qid value is not properly assigned before this function call. The code execution flow for which we faced this issue is given below:
SystemInit in system_control.c file invokes StartStream(&tConfig) function.
StartStream(&tConfig) -> SetDmvaEnable() -> SetDmvaPrm() ->SendDmvaEnableMsg()
We noticed that the qid is getting properly updated when the function InitAV_Server(&tConfig) is executed. But this function is getting called after StartStream() function.
We would like to know whether this is a known issue, or if we have missed something in our analysis.