summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2022-06-28 08:59:27 +0200
committerGitHub <noreply@github.com>2022-06-28 08:59:27 +0200
commit644e5628dfe078489be9beba5f2a1eebb28d4ac8 (patch)
tree01e1f00ef59cfc6ebb60844b7c4d5582376508f4
parent44bf33a2701d7cf94ae0a41f6befc7f591913e10 (diff)
parent7ef0d026c28a2e0cae0adeab5bae16eb146289d5 (diff)
Merge pull request #88 from jow-/nl80211-fix-survey-info-noise-type
nl80211: fix NL80211_SURVEY_INFO_NOISE datatype
-rw-r--r--lib/nl80211.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/nl80211.c b/lib/nl80211.c
index 6a0fd8a..aa84848 100644
--- a/lib/nl80211.c
+++ b/lib/nl80211.c
@@ -772,7 +772,7 @@ static const uc_nl_nested_spec_t nl80211_survey_info_nla = {
{ NL80211_SURVEY_INFO_TIME_BUSY, "busy", DT_U64, 0, NULL },
{ NL80211_SURVEY_INFO_TIME_EXT_BUSY, "ext_busy", DT_U64, 0, NULL },
{ NL80211_SURVEY_INFO_TIME_SCAN, "scan", DT_U64, 0, NULL },
- { NL80211_SURVEY_INFO_NOISE, "noise", DT_U8, 0, NULL },
+ { NL80211_SURVEY_INFO_NOISE, "noise", DT_S8, 0, NULL },
}
};