summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohannes Berg <johannes@sipsolutions.net>2007-04-24 14:07:27 -0700
committerDavid S. Miller <davem@sunset.davemloft.net>2007-04-25 22:29:48 -0700
commit43fb45cb79e9441a79ece206cf741774500dd627 (patch)
tree203a30ae74da7408967e16d2329ebdfea5782e86
parentf9d106a6d53b57b78eae5544f9582c643343a764 (diff)
downloadblackbird-op-linux-43fb45cb79e9441a79ece206cf741774500dd627.tar.gz
blackbird-op-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>
-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.
OpenPOWER on IntegriCloud