ubus: set scan duration to roam scan interval
authorDavid Bauer <mail@david-bauer.net>
Mon, 18 Oct 2021 11:30:18 +0000 (13:30 +0200)
committerDavid Bauer <mail@david-bauer.net>
Thu, 25 Nov 2021 22:20:18 +0000 (23:20 +0100)
commit7bf79a237c4eaf68fa9211fbf1d1c083fa749c91
treee31f9c6b4b903b9fe4784f3d1578d9aad5db04e7
parentb4eb49e3fec5eb2a0508dfdc3c7155d89e27d1d4
ubus: set scan duration to roam scan interval

Some clients seem to ignore scan requests with unreasonably high
measurement durations. This was observed with a Google Pixel 4A as well
as a Xiaomi Mi 10T.

Advertise a scan duration which closely matches the roam scan-interval.
This triggers scans more reliably with the aformentioned devices.

Signed-off-by: David Bauer <mail@david-bauer.net>
ubus.c