On Mon, 2011-01-31 at 04:01 -0800, Stanislaw Gruszka wrote: > After commit 59eb21a6504731fc16db4cf9463065dd61093e08 > "cfg80211: Extend channel to frequency mapping for 802.11j" > we use uninitialized sband->band when assign channel frequencies, what > results that 5GHz channels have erroneous (zero) center_freq value. > > Patch fixes problem and simplifies code a bit. > > Signed-off-by: Stanislaw Gruszka <sgruszka@xxxxxxxxxx> Acked-by: Wey-Yi Guy <wey-yi.w.guy@xxxxxxxxx> Thanks, it make sense. Wey -- 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