summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xplugins/wifi.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/plugins/wifi.c b/plugins/wifi.c
index c209da57..1407441c 100755
--- a/plugins/wifi.c
+++ b/plugins/wifi.c
@@ -2269,6 +2269,11 @@ static gboolean autoscan_timeout(gpointer data)
autoscan = wifi->autoscan;
+#if defined TIZEN_EXT
+ if (!autoscan)
+ return FALSE;
+#endif
+
if (autoscan->interval <= 0) {
interval = autoscan->base;
goto set_interval;