Search Linux Wireless

Re: BUG: problem while tracing cfg80211

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

 



On Mon, 2013-03-18 at 23:09 +0100, Arend van Spriel wrote:
> On 03/18/2013 11:02 PM, Arend van Spriel wrote:
> > On 03/18/2013 09:03 PM, Johannes Berg wrote:
> >> On Mon, 2013-03-18 at 20:47 +0100, Arend van Spriel wrote:
> >>> Hi Johannes,
> >>>
> >>> While testing David Spinadel's P2P device support functionality I got
> >>> the following blurb, which is probably caused by cfg80211 tracing given
> >>> the instruction pointer address.
> >>>
> >>> brcmfmac returns ERR_PTR(-ENOENT) and I think the trace code/macros do
> >>> not take this into account.
> >>
> >> I guess this should fix it?
> >>
> >> http://p.sipsolutions.net/fdea39f2a56aff67.txt
> >
> > Did not test it, but that would be my guess to. Just another
> > observation: Is the wdev identifier not defined as u64?

Mind testing it? :-)

> Found the answer. In nl80211 API the wdev identifier is 64 bits, which 
> got me confused.

Yes, externally it's a u64 but the high 32 bits are just the wiphy ID.
Makes it easier to look things up based on the wdev index :-)

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 Wireless Personal Area Network]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux