From: Johannes Berg Date: Tue, 24 Apr 2007 21:07:27 +0000 (-0700) Subject: [WIRELESS] cfg80211: Update comment for locking. X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=43fb45cb79e9441a79ece206cf741774500dd627;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git [WIRELESS] cfg80211: Update comment for locking. This patch adds a comment that was part of my rtnl locking patch for cfg80211 but which I forgot for the merge. Signed-off-by: Johannes Berg Signed-off-by: John W. Linville Signed-off-by: David S. Miller --- diff --git a/include/net/cfg80211.h b/include/net/cfg80211.h index 783a11437a57..88171f8ce58a 100644 --- a/include/net/cfg80211.h +++ b/include/net/cfg80211.h @@ -23,6 +23,10 @@ struct wiphy; * All callbacks except where otherwise noted should return 0 * on success or a negative error code. * + * All operations are currently invoked under rtnl for consistency with the + * wireless extensions but this is subject to reevaluation as soon as this + * code is used more widely and we have a first user without wext. + * * @add_virtual_intf: create a new virtual interface with the given name * * @del_virtual_intf: remove the virtual interface determined by ifindex.