summaryrefslogtreecommitdiffhomepage
path: root/lib
diff options
context:
space:
mode:
authorAndre Heider <a.heider@gmail.com>2023-02-12 18:12:33 +0100
committerAndre Heider <a.heider@gmail.com>2023-02-12 19:55:04 +0100
commitc4125c516e0ac987976eb72d0bbc4b0ba2b2a85c (patch)
tree3d878cf4aa57642911f8cdd85bbb7a5e8b819dee /lib
parent599a7fb59380a145c615fd1bad80a42ff8bdc360 (diff)
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 <a.heider@gmail.com>
Diffstat (limited to 'lib')
-rw-r--r--lib/nl80211.c2
1 files changed, 1 insertions, 1 deletions
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 },