Re: [RFC v2 0/3] Improve wireless netdev detection

2016-08-03 Thread Johannes Berg
On Sat, 2016-07-09 at 01:16 -0500, Denis Kenzior wrote: > The current mechanism to detect hot-plug / unplug of wireless devices > is > somewhat arcane.  One has to listen to NEW_WIPHY/DEL_WIPHY events > over > nl80211 as well as RTM_NEWLINK / RTM_DELLINK events over rtnl, then > somehow find a

[RFC v2 0/3] Improve wireless netdev detection

2016-07-08 Thread Denis Kenzior
The current mechanism to detect hot-plug / unplug of wireless devices is somewhat arcane. One has to listen to NEW_WIPHY/DEL_WIPHY events over nl80211 as well as RTM_NEWLINK / RTM_DELLINK events over rtnl, then somehow find a correlation between these events. This involves userspace sending