summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2013-12-28 15:20:56 +0100
committerFelix Fietkau <nbd@openwrt.org>2013-12-28 15:20:56 +0100
commita9b361becf7b8668247602403f870ad9503fd8e9 (patch)
tree111d7be0dabcd47093552233f271eb5b2697a4a8
parent1a770b186b4bc9e714dbdd30d0c41ea471fa8245 (diff)
wireless: cancel the script check timer
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
-rw-r--r--wireless.c1
1 files changed, 1 insertions, 0 deletions
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);