On Sun, Dec 28, 2008 at 08:38:10PM -0800, Sujith Manoharan wrote: > Luis Rodriguez wrote: > > - case IQ_MISMATCH_CAL: > > - if (!IS_CHAN_B(chan)) > > - retval = true; > > - break; > > + case IQ_MISMATCH_CAL: /* Both 2 GHz and 5 GHz support OFDM */ > > + return true; > > case ADC_GAIN_CAL: > > case ADC_DC_CAL: > > - if (!IS_CHAN_B(chan) > > - && !(IS_CHAN_2GHZ(chan) && IS_CHAN_HT20(chan))) > > - retval = true; > > + if (conf->channel->band == IEEE80211_BAND_5GHZ && > > + conf_is_ht20(conf)) > > + return true; > > break; > > } > > Why are the IS_CHAN_B() checks removed ? Because 1) it will currently never happen 2) we need a better check for is CCK in mac80211, not an internal check. Luis -- 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