Search Linux Wireless

Re: [PATCH] wl12xx: disable 11a channels when wl->enable_11a is known

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 2010-12-03 at 17:05 +0200, luciano.coelho@xxxxxxxxx wrote:
> From: Luciano Coelho <luciano.coelho@xxxxxxxxx>
> 
> Disabling the 11a channels when not supported in the reg_notify function was
> not working as it should, because when the driver is initiailizing (and
> registering itself with mac80211), it would get the reg notification too
> early.  At that point the driver wouldn't have received the NVS yet, so it
> wouldn't know whether 11a was supported.
> 
> To fix this, we disable 11a channels when we read the NVS instead.  Also, it
> is easier (and still safe) to set n_channels to zero instead of setting the
> disabled flag on every 11a channel.
> 
> Signed-off-by: Luciano Coelho <luciano.coelho@xxxxxxxxx>

Applied.

-- 
Cheers,
Luca.

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


[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux