summaryrefslogtreecommitdiffstats
path: root/include/net/cfg80211.h
diff options
context:
space:
mode:
authorLuciano Coelho2014-05-07 18:07:05 +0200
committerJohannes Berg2014-05-08 11:59:35 +0200
commitc3d620362dfe9218c7637354c7bce344ea771a31 (patch)
tree4cc940ea96f3c8bf5f4a7ae1ac88fcd10ae2348c /include/net/cfg80211.h
parentmac80211: disconnect iface if CSA unexpectedly fails (diff)
downloadkernel-qcow2-linux-c3d620362dfe9218c7637354c7bce344ea771a31.tar.gz
kernel-qcow2-linux-c3d620362dfe9218c7637354c7bce344ea771a31.tar.xz
kernel-qcow2-linux-c3d620362dfe9218c7637354c7bce344ea771a31.zip
cfg80211: fix docbook warning
When trying to generate documentation, at least xmldocs, we get the following warning: Warning(include/net/cfg80211.h:461): No description found for parameter 'nl80211_iftype' Fix it by adding the iftype argument name to the cfg80211_chandef_dfs_required() function declaration. Reported-and-tested-by: Masanari Iida <standby24x7@gmail.com> Signed-off-by: Luciano Coelho <luciano.coelho@intel.com> 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 0631230b01eb..28f6f1a5b445 100644
--- a/include/net/cfg80211.h
+++ b/include/net/cfg80211.h
@@ -458,7 +458,7 @@ bool cfg80211_chandef_usable(struct wiphy *wiphy,
*/
int cfg80211_chandef_dfs_required(struct wiphy *wiphy,
const struct cfg80211_chan_def *chandef,
- enum nl80211_iftype);
+ enum nl80211_iftype iftype);
/**
* ieee80211_chandef_rate_flags - returns rate flags for a channel