Hi Daniel,

> Well, I can't really say if needed but could you clean it this up
>  - max line length
>  - error handling for strtol
>  - please no more DBGs
>  - commit message explaining what you fix and how?
> then I will accept it.

By our side, with wpa_supplicant, we are facing the minimal network list (only ethernet and connected wifi) during 2 minutes every 3 minutes.

Please find my attached patch, taking into account your remarks.