From c4125c516e0ac987976eb72d0bbc4b0ba2b2a85c Mon Sep 17 00:00:00 2001 From: Andre Heider Date: Sun, 12 Feb 2023 18:12:33 +0100 Subject: nl80211: fix NL80211_ATTR_SURVEY_INFO This is the last attribute, adapt .nattr to include it so it gets parsed. Signed-off-by: Andre Heider --- lib/nl80211.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/nl80211.c b/lib/nl80211.c index f3e63bb..e2c0c07 100644 --- a/lib/nl80211.c +++ b/lib/nl80211.c @@ -807,7 +807,7 @@ static const uc_nl_nested_spec_t nl80211_mpath_info_nla = { static const uc_nl_nested_spec_t nl80211_msg = { .headsize = 0, - .nattrs = 126, + .nattrs = 127, .attrs = { { NL80211_ATTR_4ADDR, "4addr", DT_U8, 0, NULL }, { NL80211_ATTR_AIRTIME_WEIGHT, "airtime_weight", DT_U16, 0, NULL }, -- cgit v1.2.3