From: Johannes Berg Date: Tue, 24 Apr 2007 21:07:27 +0000 (-0700) Subject: [WIRELESS] cfg80211: Update comment for locking. X-Git-Tag: v2.6.22-rc1~1128^2~64 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=43fb45cb79e9441a79ece206cf741774500dd627;p=linux-2.6 [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 783a11437a..88171f8ce5 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.