Update HUP handle to reconfigure events manager
So when the wifi is reconfigured, the events manager wil reconfigure as well.
This is needed for a few cases:
-
If an interface we are monitoring for events gets deleted and readded, we need to unregister and reregister to it, otherwise we will not get any of it's events.
-
If when wifimngr started some interface that we should monitor (for example wl0.1 when we should monitor any wl*) didn't exist yet and is added later.
Edited by Orr Mazor