Re: iwlagn regression in v3.1.5

wwguy
2011-12-13T23:27:07Z

On Tue, 2011-12-13 at 14:04 -0800, Udo Steinberg wrote:
> Hi,
>
> Glad to hear it works for you now. In the patch, the following piece of code
>
> + if ((iwl_is_associated_ctx(ctx) &&
> + !ctx->ht.is_40mhz) ||
> + !iwl_is_associated_ctx(ctx))
>
> can be simplified to:
>
> if (!iwl_is_associated_ctx(ctx) || !ctx->ht.is_40mhz)
>
right, looks better this way :-)

Thanks
Wey