Christian Lamparter <chunkeey@xxxxxxxxx> writes: > The common DT property can be used to limit the available channels > but ath9k has to manually call wiphy_read_of_freq_limits(). > > Signed-off-by: Christian Lamparter <chunkeey@xxxxxxxxx> > > --- > > I would have put this into ath9k_of_init(). But it didn't work there. > The reason is that in ath9k_of_init() the channels and bands are not yet > registered in the wiphy struct. So there isn't any channel to flag as > disabled. I think this is good info to have in the commit log, so in the pending branch I did that. -- https://patchwork.kernel.org/project/linux-wireless/list/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches