Re: iwlagn regression in v3.1.5

From: wwguy
Date: Tue Dec 13 2011 - 18:27:04 EST


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

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/