Commit 3453de98 authored by Randy Dunlap's avatar Randy Dunlap Committed by Johannes Berg
Browse files

wireless: FTM: fix kernel-doc "cannot understand" warnings



Fix kernel-doc warnings in FTM due to missing "struct" keyword.

Fixes 109 warnings from <net/cfg80211.h>:
../include/net/cfg80211.h:2838: warning: cannot understand function prototype: 'struct cfg80211_ftm_responder_stats '

and fixes 88 warnings from <net/mac80211.h>:
../include/net/mac80211.h:477: warning: cannot understand function prototype: 'struct ieee80211_ftm_responder_params '

Fixes: 81e54d08 ("cfg80211: support FTM responder configuration/statistics")
Fixes: bc847970 ("mac80211: support FTM responder configuration/statistics")

Signed-off-by: default avatarRandy Dunlap <rdunlap@infradead.org>
Cc: Pradeep Kumar Chitrapu <pradeepc@codeaurora.org>
Cc: Johannes Berg <johannes.berg@intel.com>
Cc: David Spinadel <david.spinadel@intel.com>
Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
parent 3e8bf523
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2823,7 +2823,7 @@ struct cfg80211_external_auth_params {
};

/**
 * cfg80211_ftm_responder_stats - FTM responder statistics
 * struct cfg80211_ftm_responder_stats - FTM responder statistics
 *
 * @filled: bitflag of flags using the bits of &enum nl80211_ftm_stats to
 *	indicate the relevant values in this struct for them
+1 −1
Original line number Diff line number Diff line
@@ -467,7 +467,7 @@ struct ieee80211_mu_group_data {
};

/**
 * ieee80211_ftm_responder_params - FTM responder parameters
 * struct ieee80211_ftm_responder_params - FTM responder parameters
 *
 * @lci: LCI subelement content
 * @civicloc: CIVIC location subelement content