Re: [ 26/89] mwifiex: update config_bands during infra association

From: Ben Hutchings
Date: Sun Feb 03 2013 - 08:10:25 EST


On Fri, 2013-02-01 at 14:07 +0100, Greg Kroah-Hartman wrote:
> 3.7-stable review patch. If anyone has any objections, please let me know.
>
> ------------------
>
> From: Amitkumar Karwar <akarwar@xxxxxxxxxxx>
>
> commit d7b9c5204e9c6810a20d509ee47bc70419096e59 upstream.
>
> Currently "adapter->config_bands" is updated during infra
> association only if channel is provided by user in "iw connect"
> command. config_bands is used while preparing association
> request to calculate supported rates by intersecting our rates
> with the rates advertised by AP.
>
> There is corner case in which we include zero rates in
> supported rates TLV based on previous IBSS network history,
> which leads to association failure.
>
> This patch fixes the problem by correctly updating config_bands.
>
> Signed-off-by: Amitkumar Karwar <akarwar@xxxxxxxxxxx>
> Signed-off-by: Bing Zhao <bzhao@xxxxxxxxxxx>
> Signed-off-by: John W. Linville <linville@xxxxxxxxxxxxx>
> Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>
[...]

Is this fix needed for earlier kernel versions (3.0, 3.2, 3.4)? If so,
could you provide backports?

Ben.

--
Ben Hutchings
Everything should be made as simple as possible, but not simpler.
- Albert Einstein

Attachment: signature.asc
Description: This is a digitally signed message part