On Fri, 2010-11-26 at 14:14 +0100, ext Johannes Berg wrote: > On Fri, 2010-11-26 at 14:43 +0200, luciano.coelho@xxxxxxxxx wrote: > > From: Luciano Coelho <luciano.coelho@xxxxxxxxx> > > > > Instead of simply not scanning for the 11a channels when not supported by the > > hardware, disable the channels in reg_notify. This centralizes the decision > > on whether to scan 5GHz channel in one place and allows userspace to know > > exactly which channels are in use. > > Why are you advertising them to start with though? Because the driver support chips with and without 11a (namely wl1273 and wl1271). When we register the channels with mac80211, we don't know whether the chip supports 11a or not, so we need to decide at runtime. -- 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