Re: [PATCH 0/3] Add mcast event when hwsim radios are created and removed
From: Johannes Berg <johannes@sipsolutions.net>
Date: 2014-10-27 12:08:38
From: Johannes Berg <johannes@sipsolutions.net>
Date: 2014-10-27 12:08:38
On Mon, 2014-10-27 at 13:55 +0200, Jukka Rissanen wrote:
quoted
That's not particularly hard to figure out, for example by looking at sysfs. Is this really so time-constrained/important/... that you can't do that?It does not seem very practical to dig this information from sysfs as the same information can be easily get via netlink as this patch shows.
Well, that's a slippery slope. I'd consider it more practical to use existing APIs instead of (gratuitously) inventing new ones. It'll even work on older kernels as an added benefit. johannes