summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndre Heider2022-11-23 13:40:24 +0000
committerJo-Philipp Wich2022-12-15 19:07:49 +0000
commit4aa6c5a45cde865e6fc0a31f38aa151bdf73f448 (patch)
treebaecef2d0d706cfe5d6fbde1b8939b6cb32172c9
parent311272660d77beac761f036192df2573c4c01bf6 (diff)
downloadiwinfo-4aa6c5a45cde865e6fc0a31f38aa151bdf73f448.tar.gz
fix -Wreturn-type warning
The function doesn't return anything nor does any caller expect anything. Signed-off-by: Andre Heider <a.heider@gmail.com>
-rw-r--r--iwinfo_nl80211.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/iwinfo_nl80211.c b/iwinfo_nl80211.c
index c17aaa2..f852ed1 100644
--- a/iwinfo_nl80211.c
+++ b/iwinfo_nl80211.c
@@ -3052,7 +3052,7 @@ struct nl80211_modes
uint16_t he_phy_cap[6];
};
-static int nl80211_eval_modelist(struct nl80211_modes *m)
+static void nl80211_eval_modelist(struct nl80211_modes *m)
{
/* Treat any nonzero capability as 11n */
if (m->nl_ht > 0)