From d4655db0a1e11eeacc55c44c81121c83b087982e Mon Sep 17 00:00:00 2001 From: Johannes Berg Date: Fri, 9 Feb 2024 08:04:23 +0100 Subject: [PATCH] wifi: cfg80211: fix kernel-doc for cfg80211_chandef_primary This was still referring to cfg80211_chandef_primary_freq(), fix it. Reported-by: Stephen Rothwell Fixes: b82730bf57b5 ("wifi: cfg80211/mac80211: move puncturing into chandef") Signed-off-by: Johannes Berg --- include/net/cfg80211.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/net/cfg80211.h b/include/net/cfg80211.h index d4c83ea3213d4..f52f989a54ad9 100644 --- a/include/net/cfg80211.h +++ b/include/net/cfg80211.h @@ -1053,7 +1053,7 @@ cfg80211_chandef_dfs_cac_time(struct wiphy *wiphy, const struct cfg80211_chan_def *chandef); /** - * cfg80211_chandef_primary_freq - calculate primary 40/80/160 MHz freq + * cfg80211_chandef_primary - calculate primary 40/80/160 MHz freq * @chandef: chandef to calculate for * @primary_chan_width: primary channel width to calculate center for * @punctured: punctured sub-channel bitmap, will be recalculated -- 2.30.2