diff options
Diffstat (limited to 'plugins/wifi.c')
-rw-r--r-- | plugins/wifi.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins/wifi.c b/plugins/wifi.c index 3e489995..f1ee6da0 100644 --- a/plugins/wifi.c +++ b/plugins/wifi.c @@ -502,6 +502,9 @@ static gboolean autoscan_timeout(gpointer data) struct autoscan_params *autoscan; int interval; + if (wifi == NULL) + return FALSE; + autoscan = wifi->autoscan; if (autoscan->interval <= 0) { |