From a9b361becf7b8668247602403f870ad9503fd8e9 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Sat, 28 Dec 2013 15:20:56 +0100 Subject: [PATCH] wireless: cancel the script check timer Signed-off-by: Felix Fietkau --- wireless.c | 1 + 1 file changed, 1 insertion(+) diff --git a/wireless.c b/wireless.c index 6201da7..0fd209e 100644 --- a/wireless.c +++ b/wireless.c @@ -180,6 +180,7 @@ wireless_device_free_state(struct wireless_device *wdev) { struct wireless_interface *vif; + uloop_timeout_cancel(&wdev->script_check); uloop_timeout_cancel(&wdev->timeout); wireless_complete_kill_request(wdev); free(wdev->data); -- 2.25.1