hostapd: send ubus event on BSS update
authorDavid Bauer <mail@david-bauer.net>
Thu, 17 Sep 2020 23:11:13 +0000 (01:11 +0200)
committerDavid Bauer <mail@david-bauer.net>
Mon, 21 Sep 2020 19:26:12 +0000 (21:26 +0200)
commit6254af0c379901c1b975373bb090fca169e49fa2
treedcd634c5f9264511ea4118a542171951d47d4681
parentec80139629f1087d67f5956caf92b2320c5b54e9
hostapd: send ubus event on BSS update

hostapd will emit a ubus event with the eventname hostapd.<ifname>.<event>
when adding, removing or reloading a BSS.

This way, services which install state (for example the RMM neighbor
list) can on-demand reinstall this information for the BSS without
polling this state.

Signed-off-by: David Bauer <mail@david-bauer.net>
package/network/services/hostapd/Makefile
package/network/services/hostapd/src/src/ap/ubus.c