Hi James,
On 8/16/21 11:04 AM, James Prestwood wrote:
The destructor was trying to do more than the scope of a destructor
by trying to handle this single case of hostapd being restarted.
Instead we can simply pass a keyword argument 'reinit' to the
constructor to tell it to reinitialize everything. And as for killing
hostapd this can be done in ungraceful_restart itself rather than
trying to handle it in the destructor.
---
autotests/util/hostapd.py | 21 +++++++--------------
1 file changed, 7 insertions(+), 14 deletions(-)
Applied, thanks.
Regards,
-Denis