mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2025-01-18 02:44:03 -05:00
dbus: Remove unnecessary wpa_s->bssid comparison
This is an array and cannot have NULL value.
This commit is contained in:
parent
4f93ab0ffc
commit
0cf7d7450a
@ -2281,7 +2281,7 @@ DBusMessage * wpas_dbus_getter_current_bss(DBusMessage *message,
|
||||
NULL);
|
||||
}
|
||||
|
||||
if (wpa_s->bssid && !is_zero_ether_addr(wpa_s->bssid)) {
|
||||
if (!is_zero_ether_addr(wpa_s->bssid)) {
|
||||
size_t i;
|
||||
for (i = 0; i < wpa_s->scan_res->num; i++) {
|
||||
struct wpa_scan_res *res = wpa_s->scan_res->res[i];
|
||||
|
Loading…
Reference in New Issue
Block a user