mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2024-11-24 16:28:23 -05:00
Remove unused variable update
Commit e8b85c078e
("iface match: Unspecified matched interfaces should
not log driver fails") removed the only use of the added interface wpa_s
pointer, but left that pointer setting in place. Remove it to keep
static analyzers happy.
Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
This commit is contained in:
parent
589bf1f7a9
commit
f724dd1bfd
@ -6789,7 +6789,7 @@ static int wpa_supplicant_match_existing(struct wpa_global *global)
|
||||
continue;
|
||||
iface = wpa_supplicant_match_iface(global, ifi->if_name);
|
||||
if (iface) {
|
||||
wpa_s = wpa_supplicant_add_iface(global, iface, NULL);
|
||||
wpa_supplicant_add_iface(global, iface, NULL);
|
||||
os_free(iface);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user