[PATCH] mesh: Set correct secondary channel offset if HT40 is disabled

Masashi Honma masashi.honma at gmail.com
Wed Aug 17 18:05:46 PDT 2016

On 2016年08月13日 16:42, Jouni Malinen wrote:
> Why would this not simply return here on disable_ht40? The way the
> following changes are done would seem to imply that the previous if
> !sec_chan return case is skipped and execution continues to set up VHT
> parameters. This could then end up trying to claim that VHT is enabled
> on a 80 MHz channel which should not really happen if HT40 is not
> allowed.

Thanks. I will modify it to return immediately.
And I will modify following check code to simplify it.

Masashi Honma.

More information about the Hostap mailing list