On 2/10/22 14:10, Johannes Berg wrote:
On Thu, 2022-02-10 at 12:54 -0600, Larry Finger wrote:
I am most concerned about that bss_entries_limit=1 option for cfg80211. Do you
still get the warnings logged if you eliminate that one?
Yeah that's probably the reason ...
I guess we should ignore it if it's too low to make any sense.
I also have a question for Johannes, et al. Should the "if (WARN_ON(!oldest))"
in net/wireless/scan.c be a WARN_ON_ONCE()? It does not seem worthwhile to spam
the logs. It is clear that once this happens, it will happen again and again.
Indeed, that seems reasonable. Want to send a patch?
Yes, I will send a patch. I was able to duplicate the OP's warning with
"bss_entries_limit=1 and I will be able to test for that warning.
Larry