wifi: cfg80211: fix kernel-doc for cfg80211_chandef_primary
authorJohannes Berg <johannes.berg@intel.com>
Fri, 9 Feb 2024 07:04:23 +0000 (08:04 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Fri, 9 Feb 2024 07:04:59 +0000 (08:04 +0100)
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>
include/net/cfg80211.h

index d4c83ea3213d4f424f738f93f1e9dbb23100b1f3..f52f989a54ad91ef212935cc65537ef17786d924 100644 (file)
@@ -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