On Wed January 19 2011 20:03:38 you wrote: > On Wed, Jan 19, 2011 at 3:54 AM, Bruno Randolf <b...@einfach.org> wrote: > > Use mac80211 channel mapping function instead of own homegrown version. > > > > Signed-off-by: Bruno Randolf <b...@einfach.org> > > --- > > > > @@ -274,6 +262,7 @@ ath5k_copy_channels(struct ath5k_hw *ah, > > unsigned int max) > > { > > unsigned int i, count, size, chfreq, freq, ch; > > + enum ieee80211_band band; > > I like this, but we can also change ath5k_channel_ok and get rid of chfreq > completely, no? And then maybe the CHANNEL_ defines.
True. Could be done and would be a nice cleanup too. We have too many redundant CHANNEL_ and MODE_ defines... > Could be a follow-on patch. Please... ;) bruno _______________________________________________ ath5k-devel mailing list ath5k-devel@lists.ath5k.org https://lists.ath5k.org/mailman/listinfo/ath5k-devel