3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2025-02-12 20:00:43 +01:00
James Prestwood 933be89812 auto-t: fix hostapd.ungraceful_restart
Restarting hostapd from python was actually leaking memory and
causing the hostapd object to stay referenced in python. The
GLib timeout in wait_for_event was the ultimate cause, but this
had no come to light because no tests restarted hostapd then
used wait_for_event.

In addition, any use of wait_for_event after a restart would
cause an exception because the event socket was never re-attached
after hostapd restarted.

Now we properly clean up the timeout in wait_for_event and
re-initialize the hostapd object on restart.
2020-07-15 14:43:29 -05:00
..
2017-12-14 17:47:29 -06:00
2020-01-21 16:03:28 -06:00