wext: Cancel send_rfkill timeout in deinit

Signed-off-by: Slava Monich <slava.monich@jolla.com>
This commit is contained in:
Slava Monich 2017-01-13 17:37:47 +02:00 committed by Jouni Malinen
parent 1e40cf22f4
commit 6ff92677a1

View File

@ -1042,6 +1042,7 @@ void wpa_driver_wext_deinit(void *priv)
wpa_driver_wext_set_auth_param(drv, IW_AUTH_WPA_ENABLED, 0); wpa_driver_wext_set_auth_param(drv, IW_AUTH_WPA_ENABLED, 0);
eloop_cancel_timeout(wpa_driver_wext_scan_timeout, drv, drv->ctx); eloop_cancel_timeout(wpa_driver_wext_scan_timeout, drv, drv->ctx);
eloop_cancel_timeout(wpa_driver_wext_send_rfkill, drv, drv->ctx);
/* /*
* Clear possibly configured driver parameters in order to make it * Clear possibly configured driver parameters in order to make it