ctrl_iface: Allow sending ML probe without AP MLD ID
If one sends a Probe Request frame to a non-TX BSSID, no AP MLD ID should be included in the request. Permit mld_id to be -1 so that it is not a required argument and can be left out. Signed-off-by: Benjamin Berg <benjamin.berg@intel.com>
This commit is contained in:
parent
4d2f76fabf
commit
ff798fbb83
1 changed files with 1 additions and 1 deletions
|
@ -12118,7 +12118,7 @@ static int wpas_ctrl_ml_probe(struct wpa_supplicant *wpa_s, char *cmd)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (mld_id < 0 || is_zero_ether_addr(bssid)) {
|
if (is_zero_ether_addr(bssid)) {
|
||||||
wpa_printf(MSG_DEBUG,
|
wpa_printf(MSG_DEBUG,
|
||||||
"MLD: Failed parsing ML probe request arguments");
|
"MLD: Failed parsing ML probe request arguments");
|
||||||
return -1;
|
return -1;
|
||||||
|
|
Loading…
Reference in a new issue