On Wed, Dec 09, 2020 at 10:09:58PM +0300, Sergey Matyukevich wrote:
Do not stop wispr unconditionally. Make sure that wispr matches
before stopping it. Otherwise removal of unrelevant service may cancel
ongoing online check. For instance, this is the case for WiFi networks,
since their services share the same index equal to network device index.
So when unused WiFi services are removed, online check for active WiFi
service is canceled before completion and not rescheduled.
Patch applied (I've reformatted it slightly to match the coding style in
the file more.)