From a9266e5055d2c332080785e24bbaa82b101b1d11 Mon Sep 17 00:00:00 2001 From: Derek Dai Date: Wed, 14 Sep 2016 11:29:55 +0800 Subject: [PATCH] re-dispatch wpa_message with ifname!=NULL from supplicant_global_fn() to supplicant_dev_fn() --- src/wifi/wifid-supplicant.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/wifi/wifid-supplicant.c b/src/wifi/wifid-supplicant.c index 6a49fa4..26d981c 100644 --- a/src/wifi/wifid-supplicant.c +++ b/src/wifi/wifid-supplicant.c @@ -2147,6 +2147,9 @@ static int supplicant_global_fn(struct wpas *w, } /* ignore events on the global-iface, we only listen on dev-iface */ + if(wpas_message_get_ifname(m)) { + supplicant_event(s, m); + } return 0;