1
0
Fork 0
mirror of https://github.com/albfan/miraclecast.git synced 2025-03-09 23:38:56 +00:00

add option --use-dev to miracle-wifid to workaround the 'no ifname' issue

This commit is contained in:
Derek Dai 2016-09-14 16:01:54 +08:00
parent a9266e5055
commit 3886dcb7c7
4 changed files with 27 additions and 1 deletions

View file

@ -2147,7 +2147,7 @@ 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)) {
if(link_is_using_dev(s->l) && wpas_message_get_ifname(m)) {
supplicant_event(s, m);
}