Re: [PATCH v2] net: qrtr: send msgs from local of same id as broadcast

From: David Miller
Date: Wed Apr 08 2020 - 15:56:11 EST


From: WANG Wenhu <wenhu.wang@xxxxxxxx>
Date: Tue, 7 Apr 2020 20:32:47 -0700

> - enqueue_fn = qrtr_bcast_enqueue;
> - if (addr->sq_port != QRTR_PORT_CTRL) {
> + if (addr->sq_port != QRTR_PORT_CTRL &&
> + qrtr_local_nid != QRTR_NODE_BCAST) {

This is still not correct, it should be:

if (addr->sq_port != QRTR_PORT_CTRL &&
qrtr_local_nid != QRTR_NODE_BCAST) {