On Mon, 2010-10-11 at 12:07 -0700, Ben Greear wrote: > On 10/11/2010 11:46 AM, Johannes Berg wrote: > > I think you should just do this (untested): > > > void > > @@ -892,8 +889,8 @@ ath5k_debug_init_device(struct ath5k_sof > > { > > sc->debug.level = ath5k_debug; > > > > - sc->debug.debugfs_phydir = debugfs_create_dir(wiphy_name(sc->hw->wiphy), > > - ath5k_global_debugfs); > > + sc->debug.debugfs_phydir = debugfs_create_dir("ath5k", > > + sc->hw->wiphy->debugfsdir); > > This fails to work because sc->hw->wiphy->debugfsdir is null when this > method is called... Then it needs to be after registering with mac80211 -- shouldn't really change much though. johannes -- 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