diff mbox series

cfg80211: fix kernel-doc

Message ID 20220623120945.9b26f55a4b43.Ib1ba631c5c7adf7ad2995ac2404455f4114df0ae@changeid (mailing list archive)
State Superseded
Delegated to: Johannes Berg
Headers show
Series cfg80211: fix kernel-doc | expand

Commit Message

Johannes Berg June 23, 2022, 10:09 a.m. UTC
From: Johannes Berg <johannes.berg@intel.com>

Some things are now removed, and some are not documented, but
mark all the new things as private since drivers shouldn't be
using them anyway.

Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
---
 include/net/cfg80211.h | 11 +----------
 1 file changed, 1 insertion(+), 10 deletions(-)
diff mbox series

Patch

diff --git a/include/net/cfg80211.h b/include/net/cfg80211.h
index 996782c44838..44f185a2f424 100644
--- a/include/net/cfg80211.h
+++ b/include/net/cfg80211.h
@@ -5563,18 +5563,8 @@  static inline void wiphy_unlock(struct wiphy *wiphy)
  * @netdev: (private) Used to reference back to the netdev, may be %NULL
  * @identifier: (private) Identifier used in nl80211 to identify this
  *	wireless device if it has no netdev
- * @connected_addr: (private) BSSID or AP MLD address if connected
  * @connected: indicates if connected or not (STA mode)
- * @current_bss: (private) Used by the internal configuration code
- * @chandef: (private) Used by the internal configuration code to track
- *	the user-set channel definition.
- * @preset_chandef: (private) Used by the internal configuration code to
- *	track the channel to be used for AP later
  * @bssid: (private) Used by the internal configuration code
- * @ssid: (private) Used by the internal configuration code
- * @ssid_len: (private) Used by the internal configuration code
- * @mesh_id_len: (private) Used by the internal configuration code
- * @mesh_id_up_len: (private) Used by the internal configuration code
  * @wext: (private) Used by the internal wireless extensions compat code
  * @wext.ibss: (private) IBSS data part of wext handling
  * @wext.connect: (private) connection handling data
@@ -5695,6 +5685,7 @@  struct wireless_dev {
 
 	unsigned long unprot_beacon_reported;
 
+	/* private: */
 	union {
 		struct {
 			u8 connected_addr[ETH_ALEN] __aligned(2);