On Fri, 2008-02-29 at 17:31 -0800, Luis Carlos Cobo wrote: > On Mon, 2008-02-25 at 17:03 +0100, Johannes Berg wrote: > > Can you do that in both nl80211 and mac80211 for both STAs and paths? > > Look at net/netlink/genetlink.c ctrl_dumpfamily() for an example. > > I'm not sure I completely get what changes are necessary. > > What I understand is that I should acquire (if idx == 0) and release > (just before returning -ENOENT) the rtnl_lock() from within (mac80211 or > equivalent) dump_station function instead of from nl80211_dump_station. > Is this the whole idea? Actually. This is a bit weird, I think I'm misunderstanding how it is supposed to work. I'll dig a bit and let you know. johannes
Attachment:
signature.asc
Description: This is a digitally signed message part