On Sat, 2016-10-22 at 21:17 +0200, Arend van Spriel wrote: > On 20-09-16 16:31, Luca Coelho wrote: > > > > + .flags = GENL_ADMIN_PERM, > Recently the nl80211_ops flags were changed to GENL_UNS_ADMIN_PERM so > should the NAN commands use that as well? The dangers of having such code non-upstream for too long... It probably doesn't really matter, since most namespace uses are probably hwsim where this isn't available, but yeah, I guess it should be allowed to a namespace owner since he already "owns" the device if it's in the namespace. johannes