From 4644ef7fff9c3c80f663260a275f1b7d65b7ea41 Mon Sep 17 00:00:00 2001 From: Seonah Moon Date: Wed, 22 Apr 2020 10:42:56 +0900 Subject: [PATCH] wifi-netlink-scan: handle EAGAIN Change-Id: Ia4549e274ae5a3f93c01927d5b5e3bde992c2a2e --- packaging/net-config.spec | 2 +- src/wifi-netlink-scan.c | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/packaging/net-config.spec b/packaging/net-config.spec index 58d8bda..da74760 100755 --- a/packaging/net-config.spec +++ b/packaging/net-config.spec @@ -1,6 +1,6 @@ Name: net-config Summary: TIZEN Network Configuration service -Version: 1.1.148 +Version: 1.1.149 Release: 3 Group: System/Network License: Apache-2.0 diff --git a/src/wifi-netlink-scan.c b/src/wifi-netlink-scan.c index 97fb74c..04d6f75 100755 --- a/src/wifi-netlink-scan.c +++ b/src/wifi-netlink-scan.c @@ -719,6 +719,10 @@ static int __netconfig_request_netlink_scan(struct nl_sock *socket, while (!results.done) { ret = nl_recvmsgs(socket, cb); +#if !defined TIZEN_WEARABLE + if (ret == -NLE_AGAIN && err >= 0) + continue; +#endif if (ret < 0 || err < 0) { DBG("scan failed"); ret = -1; -- 2.7.4