iface match: Unspecified matched interfaces should not log driver fails
If there is no matching interface given, but interface matching is enabled, all interfaces on the system will try to be initialized. Non wireless interfaces will fail and the loopback device will be one of these, so just log a diagnostic rather than an error. Signed-off-by: Roy Marples <roy@marples.name>
This commit is contained in:
parent
83fa0a1004
commit
e8b85c078e
3 changed files with 27 additions and 6 deletions
|
@ -5472,8 +5472,6 @@ void wpa_supplicant_event_global(void *ctx, enum wpa_event_type event,
|
|||
return;
|
||||
wpa_s = wpa_supplicant_add_iface(ctx, wpa_i, NULL);
|
||||
os_free(wpa_i);
|
||||
if (wpa_s)
|
||||
wpa_s->matched = 1;
|
||||
}
|
||||
#endif /* CONFIG_MATCH_IFACE */
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue