Search Linux Wireless

Re: [PATCH 1/2] wireless: Support wiphy_renamed hook for drivers.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux