On Fri, Apr 03, 2009 at 02:24:19AM -0700, Johannes Berg wrote: > On Thu, 2009-04-02 at 18:26 -0400, Luis R. Rodriguez wrote: > > > +DEBUGFS_READONLY_FILE(ht40allowed, 20, "%d", > > + !(local->hw.conf.channel->flags & > > + IEEE80211_CHAN_NO_HT40)); > > Why don't you just expose > ...FILE(flags, 20, "%#x", local->hw.conf.channel->flags)) I did first, I didn't like it. What I want is an easy to access check for ht40- or ht40+. Not to have someone to cat the file and do some bit map checks on it. This is debugfs afterall. 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