RRM: Fix range request overriding
This was supposed to cancel the existing eloop timeout instead of registering another one. Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
This commit is contained in:
parent
fb81c0a3d1
commit
401243b73e
1 changed files with 2 additions and 3 deletions
|
@ -473,9 +473,8 @@ int hostapd_send_range_req(struct hostapd_data *hapd, const u8 *addr,
|
||||||
wpa_printf(MSG_DEBUG,
|
wpa_printf(MSG_DEBUG,
|
||||||
"Request range: Range request is already in process; overriding");
|
"Request range: Range request is already in process; overriding");
|
||||||
hapd->range_req_active = 0;
|
hapd->range_req_active = 0;
|
||||||
eloop_register_timeout(HOSTAPD_RRM_REQUEST_TIMEOUT, 0,
|
eloop_cancel_timeout(hostapd_range_rep_timeout_handler, hapd,
|
||||||
hostapd_range_rep_timeout_handler, hapd,
|
NULL);
|
||||||
NULL);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Action + measurement type + token + reps + EID + len = 7 */
|
/* Action + measurement type + token + reps + EID + len = 7 */
|
||||||
|
|
Loading…
Reference in a new issue