On Thu, 2008-03-27 at 23:38 -0700, Andrew Morton wrote: > Would it be OK if we do this? > > From: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> > -IEEE80211_IF_WFILE(auto_open_plinks, u.sta.mshcfg.auto_open_plinks, DEC, bool); > +IEEE80211_IF_WFILE(auto_open_plinks, u.sta.mshcfg.auto_open_plinks, DEC, u8); > IEEE80211_IF_WFILE(dot11MeshMaxPeerLinks, > u.sta.mshcfg.dot11MeshMaxPeerLinks, DEC, u16); > IEEE80211_IF_WFILE(dot11MeshHWMPactivePathTimeout, > _ > Using bool ensures that only boolean values can be written to that debugfs file. It is just used to cast the value, I do not know why that causes any problem. Anyway, using u8 would work almost the same, so it is an acceptable solution if there is no other easy workaround. -- Luis Carlos Cobo Rus GnuPG ID: 44019B60 cozybit Inc. -- 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