summaryrefslogtreecommitdiffstats
path: root/include/uapi
diff options
context:
space:
mode:
authorJeff Johnson <quic_jjohnson@quicinc.com>2024-03-19 11:26:23 -0700
committerJohannes Berg <johannes.berg@intel.com>2024-03-25 15:36:55 +0100
commit1c7b963c20650f1ffd787a088680c9a086ee349f (patch)
tree4986b659374eba36ba494ae6a16fddd69fbf77ce /include/uapi
parent5930a9967c78152f00f591c7d0a73c2d117e448a (diff)
downloadlinux-stable-1c7b963c20650f1ffd787a088680c9a086ee349f.tar.gz
linux-stable-1c7b963c20650f1ffd787a088680c9a086ee349f.tar.bz2
linux-stable-1c7b963c20650f1ffd787a088680c9a086ee349f.zip
wifi: nl80211: rename enum plink_actions
kernel-doc flagged the following issue: include/uapi/linux/nl80211.h:6081: warning: expecting prototype for enum nl80211_plink_action. Prototype was for enum plink_actions instead This is because the documentation doesn't match the code. Normally the correct fix for such an issue is to modify the documentation to match the code. However, in this case, since the actual name plink_actions is not referenced by any code, rename it to nl80211_plink_action to give it a proper prefix and match the documentation. Signed-off-by: Jeff Johnson <quic_jjohnson@quicinc.com> Link: https://msgid.link/20240319-kdoc-nl80211-v1-1-549e09d52866@quicinc.com Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'include/uapi')
-rw-r--r--include/uapi/linux/nl80211.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/uapi/linux/nl80211.h b/include/uapi/linux/nl80211.h
index f23ecbdd84a2..9397c61a48dc 100644
--- a/include/uapi/linux/nl80211.h
+++ b/include/uapi/linux/nl80211.h
@@ -6077,7 +6077,7 @@ enum nl80211_plink_state {
* @NL80211_PLINK_ACTION_BLOCK: block traffic from this mesh peer
* @NUM_NL80211_PLINK_ACTIONS: number of possible actions
*/
-enum plink_actions {
+enum nl80211_plink_action {
NL80211_PLINK_ACTION_NO_ACTION,
NL80211_PLINK_ACTION_OPEN,
NL80211_PLINK_ACTION_BLOCK,