wifi-netlink-scan: handle EAGAIN 12/231412/1 accepted/tizen/unified/20200427.125831 submit/tizen/20200422.045342
authorSeonah Moon <seonah1.moon@samsung.com>
Wed, 22 Apr 2020 01:42:56 +0000 (10:42 +0900)
committerSeonah Moon <seonah1.moon@samsung.com>
Wed, 22 Apr 2020 01:43:04 +0000 (10:43 +0900)
Change-Id: Ia4549e274ae5a3f93c01927d5b5e3bde992c2a2e

packaging/net-config.spec
src/wifi-netlink-scan.c

index 58d8bda..da74760 100755 (executable)
@@ -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
index 97fb74c..04d6f75 100755 (executable)
@@ -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;