summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2024-02-09 08:04:23 +0100
committerJohannes Berg <johannes.berg@intel.com>2024-02-09 08:04:59 +0100
commitd4655db0a1e11eeacc55c44c81121c83b087982e (patch)
treec3dc370e3d26f36a18c6d319dc88cae6dfbc73b8
parentwifi: iwlwifi: queue: improve warning for no skb in reclaim (diff)
downloadlinux-d4655db0a1e11eeacc55c44c81121c83b087982e.tar.xz
linux-d4655db0a1e11eeacc55c44c81121c83b087982e.zip
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>
-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