summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xsources/wearable/src/wearable-circle/view/layout_scan.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sources/wearable/src/wearable-circle/view/layout_scan.c b/sources/wearable/src/wearable-circle/view/layout_scan.c
index 1854ef3..d00d1d3 100755
--- a/sources/wearable/src/wearable-circle/view/layout_scan.c
+++ b/sources/wearable/src/wearable-circle/view/layout_scan.c
@@ -346,6 +346,7 @@ static gboolean _ap_list_update_ap_items(layout_scan_object *self)
Elm_Object_Item *ap_item = NULL;
__WIFI_FUNC_ENTER__;
+ WIFI_RET_VAL_IF_FAIL(old_items_count >= 0, FALSE);
WIFI_RET_VAL_IF_FAIL(wifi_ap_itc != NULL, FALSE);
if (new_items_count < old_items_count) {