Re: [PATCH] blacklist: allow configuration to disable the blacklist
Denis Kenzior <[email protected]>
| Newsgroups | dev.linux.lists.iwd |
|---|---|
| Message-ID | <[email protected]> |
On 2/26/25 12:55 PM, James Prestwood wrote: > Certain use cases may not need or want this feature so allowing it to > be disabled is a much cleaner way than doing something like setting > the timeouts very low. > > Now [Blacklist].InitialTimeout can be set to zero which will prevent > any blacklisting. > > In addition some other small changes were added: > - Warn if the multiplier is 0, and set to 1 if so. > - Warn if the initial timeout exceeds the maximum timeout. > - Log if the blacklist is disabled > - Use L_USEC_PER_SEC instead of magic numbers. > --- > src/blacklist.c | 19 +++++++++++++++++-- > 1 file changed, 17 insertions(+), 2 deletions(-) > Applied, thanks. Regards, -Denis