From: Felix Fietkau Date: Sat, 28 Dec 2013 14:20:56 +0000 (+0100) Subject: wireless: cancel the script check timer X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=a9b361becf7b8668247602403f870ad9503fd8e9;p=project%2Fnetifd.git wireless: cancel the script check timer Signed-off-by: Felix Fietkau --- 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);