Skip to content

Commit e0b80ec

Browse files
rpmsg_send_ns_message should use 0x35 as the local address
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
1 parent 5e9a288 commit e0b80ec

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/rpmsg/rpmsg.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ int rpmsg_send_ns_message(struct rpmsg_endpoint *ept, unsigned long flags)
132132
ns_msg.flags = flags;
133133
ns_msg.addr = ept->addr;
134134
strncpy(ns_msg.name, ept->name, sizeof(ns_msg.name));
135-
ret = rpmsg_send_offchannel_raw(ept, ept->addr,
135+
ret = rpmsg_send_offchannel_raw(ept, RPMSG_NS_EPT_ADDR,
136136
RPMSG_NS_EPT_ADDR,
137137
&ns_msg, sizeof(ns_msg), true);
138138
if (ret < 0)

0 commit comments

Comments
 (0)