Commit 266a5cd7 authored by Randy Dunlap's avatar Randy Dunlap Committed by Johannes Berg

wifi: radiotap: fix kernel-doc notation warnings

Fix a typo (82011 -> 80211) to prevent a kernel-doc warning.
Add one missing function parameter description to prevent a
kernel-doc warning.

ieee80211_radiotap.h:52: warning: expecting prototype for struct ieee82011_radiotap_header. Prototype was for struct ieee80211_radiotap_header instead
ieee80211_radiotap.h:581: warning: Function parameter or member 'data' not described in 'ieee80211_get_radiotap_len'

Fixes: 42f82e2e ("wireless: radiotap: rewrite the radiotap header file")
Signed-off-by: default avatarRandy Dunlap <rdunlap@infradead.org>
Cc: "David S. Miller" <davem@davemloft.net>
Cc: Eric Dumazet <edumazet@google.com>
Cc: Jakub Kicinski <kuba@kernel.org>
Cc: Paolo Abeni <pabeni@redhat.com>
Cc: Johannes Berg <johannes@sipsolutions.net>
Cc: linux-wireless@vger.kernel.org
Link: https://lore.kernel.org/r/20230710230312.31197-7-rdunlap@infradead.orgSigned-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
parent a49a0d4e
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
#include <asm/unaligned.h> #include <asm/unaligned.h>
/** /**
* struct ieee82011_radiotap_header - base radiotap header * struct ieee80211_radiotap_header - base radiotap header
*/ */
struct ieee80211_radiotap_header { struct ieee80211_radiotap_header {
/** /**
...@@ -575,6 +575,7 @@ enum ieee80211_radiotap_eht_usig_tb { ...@@ -575,6 +575,7 @@ enum ieee80211_radiotap_eht_usig_tb {
/** /**
* ieee80211_get_radiotap_len - get radiotap header length * ieee80211_get_radiotap_len - get radiotap header length
* @data: pointer to the header
*/ */
static inline u16 ieee80211_get_radiotap_len(const char *data) static inline u16 ieee80211_get_radiotap_len(const char *data)
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment