summaryrefslogtreecommitdiff
path: root/include/net/cfg80211.h
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2024-02-09 10:04:23 +0300
committerJohannes Berg <johannes.berg@intel.com>2024-02-09 10:04:59 +0300
commitd4655db0a1e11eeacc55c44c81121c83b087982e (patch)
treec3dc370e3d26f36a18c6d319dc88cae6dfbc73b8 /include/net/cfg80211.h
parent4dbc306e0736685c5298073bed19cbf9f4b4cb92 (diff)
downloadlinux-d4655db0a1e11eeacc55c44c81121c83b087982e.tar.xz
wifi: cfg80211: fix kernel-doc for cfg80211_chandef_primary
This was still referring to cfg80211_chandef_primary_freq(), fix it. Reported-by: Stephen Rothwell <sfr@canb.auug.org.au> Fixes: b82730bf57b5 ("wifi: cfg80211/mac80211: move puncturing into chandef") Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'include/net/cfg80211.h')
-rw-r--r--include/net/cfg80211.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/cfg80211.h b/include/net/cfg80211.h
index d4c83ea3213d..f52f989a54ad 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