Re: [PATCH v3 3/9] cfg80211: add add_nan_func / del_nan_func
From: Johannes Berg <johannes@sipsolutions.net>
Date: 2016-10-22 20:24:16
From: Johannes Berg <johannes@sipsolutions.net>
Date: 2016-10-22 20:24:16
On Sat, 2016-10-22 at 21:17 +0200, Arend van Spriel wrote:
On 20-09-16 16:31, Luca Coelho wrote:quoted
+ .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