libubus: fix initial subscribe with autosubscribe
authorFelix Fietkau <nbd@nbd.name>
Tue, 28 Nov 2023 12:52:56 +0000 (13:52 +0100)
committerFelix Fietkau <nbd@nbd.name>
Tue, 28 Nov 2023 12:52:58 +0000 (13:52 +0100)
commitf84eb5998c6ea2d34989ca2d3254e56c66139313
tree9bd4ef2191baddf9872457edab98decc5cc49434
parent2b39a27d8bcc98859a67a9a925c77ecde6b1e698
libubus: fix initial subscribe with autosubscribe

Lookup + callbacks need to run after the subscriber object has been registered

Signed-off-by: Felix Fietkau <nbd@nbd.name>
libubus-sub.c