summaryrefslogtreecommitdiffstats
path: root/include/net/cfg80211.h
diff options
context:
space:
mode:
authorJohannes Berg <johannes@sipsolutions.net>2007-04-24 23:07:27 +0200
committerDavid S. Miller <davem@sunset.davemloft.net>2007-04-26 07:29:48 +0200
commit43fb45cb79e9441a79ece206cf741774500dd627 (patch)
tree203a30ae74da7408967e16d2329ebdfea5782e86 /include/net/cfg80211.h
parent[NET]: Warn about GSO/checksum abuse (diff)
downloadlinux-43fb45cb79e9441a79ece206cf741774500dd627.tar.xz
linux-43fb45cb79e9441a79ece206cf741774500dd627.zip
[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 <johannes@sipsolutions.net> Signed-off-by: John W. Linville <linville@tuxdriver.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/cfg80211.h')
-rw-r--r--include/net/cfg80211.h4
1 files changed, 4 insertions, 0 deletions
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.