mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-11-22 23:09:34 +01:00
device: use direct probe request in roam scans
This takes care of the roaming for the hidden networks. In addition, it limits the noise responses from the other networks.
This commit is contained in:
parent
5ded4890a6
commit
1fff705160
@ -1212,11 +1212,15 @@ static void device_roam_scan(struct device *device,
|
||||
{
|
||||
struct scan_parameters params = { .freqs = freq_set, .flush = true };
|
||||
|
||||
/* Use an active scan to save time */
|
||||
if (device->connected_network)
|
||||
/* Use direct probe request */
|
||||
params.ssid = network_get_ssid(device->connected_network);
|
||||
|
||||
device->roam_scan_id = scan_active_full(device->index, ¶ms,
|
||||
device_roam_scan_triggered,
|
||||
device_roam_scan_notify, device,
|
||||
device_roam_scan_destroy);
|
||||
|
||||
if (!device->roam_scan_id)
|
||||
device_roam_failed(device);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user