FIX: [iw] use correct NLA type while getting station dump with MESH
BugzId: 79975
This commit is contained in:
parent
abba375663
commit
dd1487e4bf
|
|
@ -0,0 +1,24 @@
|
||||||
|
From 8498d0b205d26cd858a348b263438cf5b2e55254 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Patrick Walther <patrick.walther@netmodule.com>
|
||||||
|
Date: Tue, 7 Jun 2022 11:15:34 +0200
|
||||||
|
Subject: [PATCH] FIX STA info to as and to gate type
|
||||||
|
|
||||||
|
---
|
||||||
|
station.c | 4 ++--
|
||||||
|
1 file changed, 2 insertions(+), 2 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/station.c b/station.c
|
||||||
|
index 7c96cfe..17bebc7 100644
|
||||||
|
--- a/station.c
|
||||||
|
+++ b/station.c
|
||||||
|
@@ -333,8 +333,8 @@ static int print_sta_handler(struct nl_msg *msg, void *arg)
|
||||||
|
[NL80211_STA_INFO_ACK_SIGNAL] = {.type = NLA_U8 },
|
||||||
|
[NL80211_STA_INFO_ACK_SIGNAL_AVG] = { .type = NLA_U8 },
|
||||||
|
[NL80211_STA_INFO_AIRTIME_LINK_METRIC] = { .type = NLA_U32 },
|
||||||
|
- [NL80211_STA_INFO_CONNECTED_TO_AS] = { .type = NLA_FLAG },
|
||||||
|
- [NL80211_STA_INFO_CONNECTED_TO_GATE] = { .type = NLA_FLAG },
|
||||||
|
+ [NL80211_STA_INFO_CONNECTED_TO_AS] = { .type = NLA_U8 },
|
||||||
|
+ [NL80211_STA_INFO_CONNECTED_TO_GATE] = { .type = NLA_U8 },
|
||||||
|
};
|
||||||
|
char *chain;
|
||||||
|
struct timeval now;
|
||||||
|
|
@ -19,6 +19,7 @@ SRC_URI = "http://www.kernel.org/pub/software/network/iw/${BP}.tar.xz \
|
||||||
file://401-wlan-indoor-channel.patch \
|
file://401-wlan-indoor-channel.patch \
|
||||||
file://402-show-ant-gain.patch \
|
file://402-show-ant-gain.patch \
|
||||||
file://403-clockbootime.patch \
|
file://403-clockbootime.patch \
|
||||||
|
file://404-fix-sta-info-to-as-and-to-gate-type.patch \
|
||||||
"
|
"
|
||||||
|
|
||||||
SRC_URI[sha256sum] = "293a07109aeb7e36267cf59e3ce52857e9ffae3a6666eb8ac77894b1839fe1f2"
|
SRC_URI[sha256sum] = "293a07109aeb7e36267cf59e3ce52857e9ffae3a6666eb8ac77894b1839fe1f2"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue