[PATCH] wext: Cancel send_rfkill timeout in deinit

Slava Monich slava.monich at jolla.com
Fri Jan 13 07:37:47 PST 2017


Signed-off-by: Slava Monich <slava.monich at jolla.com>
---
 src/drivers/driver_wext.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/drivers/driver_wext.c b/src/drivers/driver_wext.c
index 791cd5d..458d458 100644
--- a/src/drivers/driver_wext.c
+++ b/src/drivers/driver_wext.c
@@ -1042,6 +1042,7 @@ void wpa_driver_wext_deinit(void *priv)
 	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_send_rfkill, drv, drv->ctx);
 
 	/*
 	 * Clear possibly configured driver parameters in order to make it
-- 
1.9.1




More information about the Hostap mailing list