blob: b512a788460a2219fad33c9db99a995bee627cdb [file] [log] [blame]
developer4e8310e2024-02-23 14:25:14 +08001From 691fcd84fb980f918eaf012fef83022f1c4a4fbc Mon Sep 17 00:00:00 2001
2From: Fang Zhao <fang.zhao@mediatek.com>
3Date: Fri, 23 Feb 2024 11:50:39 +0800
4Subject: [PATCH] fix ccsp cm agent build fail issue.
5
6Signed-off-by: Fang Zhao <fang.zhao@mediatek.com>
7---
8 source/TR-181/middle_layer_src/cosa_rbus_handler_apis.c | 6 ++++--
9 1 file changed, 4 insertions(+), 2 deletions(-)
10
11diff --git a/source/TR-181/middle_layer_src/cosa_rbus_handler_apis.c b/source/TR-181/middle_layer_src/cosa_rbus_handler_apis.c
12index 208bc7d..1b4f43c 100644
13--- a/source/TR-181/middle_layer_src/cosa_rbus_handler_apis.c
14+++ b/source/TR-181/middle_layer_src/cosa_rbus_handler_apis.c
15@@ -62,7 +62,7 @@ rbusDataElement_t cmAgentRbusDataElements[] = {
16
17 {DOCSIS_LINK_STATUS_TR181, RBUS_ELEMENT_TYPE_EVENT, {getBoolHandler, NULL, NULL, NULL, eventSubHandler, NULL}},
18 {DOCSIS_LINKDOWN_TR181, RBUS_ELEMENT_TYPE_EVENT, {getBoolHandler, SetBoolHandler, NULL, NULL, NULL, NULL}},
19- {DOCSIS_LINKDOWNTIMEOUT_TR181, RBUS_ELEMENT_TYPE_EVENT, {getuintHandler, SetUintHandler, NULL, NULL, NULL, NULL}}
20+ {DOCSIS_LINKDOWNTIMEOUT_TR181, RBUS_ELEMENT_TYPE_EVENT, {getuintHandler, SetUintHandler, NULL, NULL, NULL, NULL}},
21 {CABLE_MODEM_RF_SIGNAL_STATUS, RBUS_ELEMENT_TYPE_EVENT, {getBoolHandler, NULL, NULL, NULL, eventSubHandler, NULL}},
22
23
24@@ -506,7 +506,9 @@ BOOL SetDocsisLinkdowSignalfunc(fpDocsisLinkdownSignal CreateThreadandSendCondSi
25 cmAgent_Link_Status.pDocsisLinkdowSignal=CreateThreadandSendCondSignalToPthreadfunc;
26 return TRUE;
27 }
28- publishCableModemRfSignalStatus(): publish CableModemRfSignalStatus event after event value gets updated
29+/*******************************************************************************
30+
31+publishCableModemRfSignalStatus(): publish CableModemRfSignalStatus event after event value gets updated
32
33 ********************************************************************************/
34 void publishCableModemRfSignalStatus() {
35--
362.18.0
37