policy: fix incurrect handling of scan-requests with disabled timeout
authorDavid Bauer <mail@david-bauer.net>
Sun, 23 Jan 2022 16:27:09 +0000 (17:27 +0100)
committerDavid Bauer <mail@david-bauer.net>
Sun, 23 Jan 2022 19:49:40 +0000 (20:49 +0100)
commit742236f30b4a16f2390bcbd956e99569ff75a45e
tree405668318867d3d411528f91b6073b32d2a9bf7b
parent9a78412ac5afadd27a8a949e82d7a5d3591534c9
policy: fix incurrect handling of scan-requests with disabled timeout

The logic guarding entering of the SCAN state of the roam state-machine
was incorrect in case the scan-timeout was not enabled.

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