The roam-kick-delay was not honored prior this patch. Because of this, a
client got kicked immediately.
Signed-off-by: David Bauer <mail@david-bauer.net>
usteer_roam_set_state(si, ROAM_TRIGGER_IDLE, &ev);
usteer_ubus_bss_transition_request(si, 1, false, false, 100, candidate->node);
- si->kick_time = current_time;
+ si->kick_time = current_time + config.roam_kick_delay;
usteer_roam_set_state(si, ROAM_TRIGGER_IDLE, &ev);
break;
}