[PATCH] bgscan_learn: Prevent infinte busy looping

Nakraszewicz Piotr piotr.nakraszewicz at tieto.com
Mon Nov 12 05:02:02 EST 2012


On 11/11/12 15:27, Jouni Malinen wrote:
> On Mon, Nov 05, 2012 at 10:07:04AM +0100, Pawel Kulakowski wrote:
>> In highly congested network (BSSes almost on every channel
>> within ESS) we have hit a bug when wpa_supplicant become
>> completly irresponsive, infinite looping on while loop.
>>
>> When probe_idx was equal 0 and we are not able to probe
>> new frequency, following condition were never fulfill:
>> "if (!in_array(freqs, data->supp_freqs[idx]))"
> Thanks! Applied.
>

Hi Jouni,

We had this bug after many weeks of using bgscan learn.
Its database only grows, the entries are never removed.
Please consider again this patch:
http://patchwork.ozlabs.org/patch/169799/
or please propose different solution to remove entries.
Otherwise after some time bgscan learn database is full and main 
advantage of bgscan learn - scanning only on particular channels - 
disappears.

BR
Piotr



More information about the HostAP mailing list