]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
[WIRELESS] cfg80211: Update comment for locking.
authorJohannes Berg <johannes@sipsolutions.net>
Tue, 24 Apr 2007 21:07:27 +0000 (14:07 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Thu, 26 Apr 2007 05:29:48 +0000 (22:29 -0700)
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>
include/net/cfg80211.h

index 783a11437a57ad9155e76e40f2838458ab2baaa9..88171f8ce58a1781f9c1664a41229883e406ea4f 100644 (file)
@@ -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.