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
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue