* Re: [PATCH v2] wsc: Check capability before adding .SimpleConfiguration interface
2019-11-06 23:50 [PATCH v2] wsc: Check capability before adding .SimpleConfiguration interface Tim Kourt
@ 2019-11-06 23:47 ` Denis Kenzior
0 siblings, 0 replies; 2+ messages in thread
From: Denis Kenzior @ 2019-11-06 23:47 UTC (permalink / raw)
To: iwd
[-- Attachment #1: Type: text/plain, Size: 164 bytes --]
Hi Tim,
On 11/6/19 5:50 PM, Tim Kourt wrote:
> ---
> src/wsc.c | 7 +++++++
> 1 file changed, 7 insertions(+)
>
Applied, thanks.
Regards,
-Denis
^ permalink raw reply [flat|nested] 2+ messages in thread
* [PATCH v2] wsc: Check capability before adding .SimpleConfiguration interface
@ 2019-11-06 23:50 Tim Kourt
2019-11-06 23:47 ` Denis Kenzior
0 siblings, 1 reply; 2+ messages in thread
From: Tim Kourt @ 2019-11-06 23:50 UTC (permalink / raw)
To: iwd
[-- Attachment #1: Type: text/plain, Size: 570 bytes --]
---
src/wsc.c | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/src/wsc.c b/src/wsc.c
index bac6e0cc..1050aefd 100644
--- a/src/wsc.c
+++ b/src/wsc.c
@@ -1108,6 +1108,13 @@ static void wsc_add_interface(struct netdev *netdev)
struct l_dbus *dbus = dbus_get_bus();
struct wsc *wsc;
+ if (!wiphy_get_max_scan_ie_len(netdev_get_wiphy(netdev))) {
+ l_debug("Simple Configuration isn't supported by ifindex %u",
+ netdev_get_ifindex(netdev));
+
+ return;
+ }
+
wsc = l_new(struct wsc, 1);
wsc->netdev = netdev;
--
2.21.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2019-11-06 23:50 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-11-06 23:50 [PATCH v2] wsc: Check capability before adding .SimpleConfiguration interface Tim Kourt
2019-11-06 23:47 ` Denis Kenzior
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.