Re: [PATCH] `iwlist scan` fails with many networks available

2019-08-21 Thread Johannes Berg
On Tue, 2019-08-13 at 00:43 +, James Nylen wrote: > > I suppose we could consider applying a workaround like this if it has a > > condition checking that the buffer passed in is the maximum possible > > buffer (65535 bytes, due to iw_point::length being u16) > > This is what the latest patch d

Re: [PATCH] `iwlist scan` fails with many networks available

2019-08-12 Thread James Nylen
>I suppose we could consider applying a workaround like this if it has a >condition checking that the buffer passed in is the maximum possible >buffer (65535 bytes, due to iw_point::length being u16) This is what the latest patch does (attached to my email from yesterday / https://lkml.org/lkml/20

Re: [PATCH] `iwlist scan` fails with many networks available

2019-08-10 Thread Johannes Berg
On Sun, 2019-08-11 at 02:08 +, James Nylen wrote: > In 5.x it's still possible for `ieee80211_scan_results` (`iwlist > scan`) to fail when too many wireless networks are available. This > code path is used by `wicd`. > > Previously: https://lkml.org/lkml/2017/4/2/192 This has been known for

[PATCH] `iwlist scan` fails with many networks available

2019-08-10 Thread James Nylen
In 5.x it's still possible for `ieee80211_scan_results` (`iwlist scan`) to fail when too many wireless networks are available. This code path is used by `wicd`. Previously: https://lkml.org/lkml/2017/4/2/192 I've been applying this updated patch to my own kernels since 2017 with no issues. I am