From nobody Sat Aug 13 03:36:15 2022 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4M4R681Cjwz4Yy63; Sat, 13 Aug 2022 03:36:16 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4M4R680hCfz3fbN; Sat, 13 Aug 2022 03:36:16 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1660361776; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=MeWF/lzEr8BmPOqfTIeZFvyUSuIIVXnTW40JZ+sxZs4=; b=o+5Vd3v9LWzrhLexDYckXhVNj7FyutNq6IsKeCLysmoGCTBHvUwwBxVZOYJ35k1yNacQhi 8NU5MMNQWHhCsFA7S3RYcFOyHj7AgtLdMoixqzE/gN03+iFylcNmbcx2h2TIIvPpOanVqT Y1KfyAr++kTDwZQr/mJ5XXOZe+c+J8iNg77lgoElzQXl1E9TUypYoEWuSS96ve4NV8eBJM Sdcru/1wHPlD18HJuYH2h1T8dD0GmB8uOFTbcqJbCj8m+sYiSy89/tYuOpZ3c7gzUnZhZC tZE+rDJbf1O0fK6ysmak/A7X54rLyA3k02tIXiAGe2kP/Od4Vuzz3RRT0C9p9A== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4M4R676qnXzx63; Sat, 13 Aug 2022 03:36:15 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 27D3aFO6019177; Sat, 13 Aug 2022 03:36:15 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 27D3aF22019176; Sat, 13 Aug 2022 03:36:15 GMT (envelope-from git) Date: Sat, 13 Aug 2022 03:36:15 GMT Message-Id: <202208130336.27D3aF22019176@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Cy Schubert Subject: git: 25a97fbf46d5 - stable/12 - rc.d/wpa_supplicant: Remove the sleep to improve boot time List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: cy X-Git-Repository: src X-Git-Refname: refs/heads/stable/12 X-Git-Reftype: branch X-Git-Commit: 25a97fbf46d52553156af9f9f0eb20b23fe47363 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1660361776; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=MeWF/lzEr8BmPOqfTIeZFvyUSuIIVXnTW40JZ+sxZs4=; b=Z195aBLtS19R00ntQowlK7zw10PdjMik5l5DOdzZc959lrRScN1Rmt0ouuFprX9y/3lJRF QfYAc49XzabIy8un779FskOm4eihrII9oiAaF/nKT1FT3GIHgxIWWnD+FzPa+QfuNGpP/L rAlqd/ys+e5+1Qbd0gBjSRetoN1yLvs43tMFvDxeqmcQ8PstYrbTgs4SYa2LqjruFfyPfo cvl8SJbXDOAV7iALlBloAdXd6UHcIRZ1ntiLmgYDkbynpz6Y+hdn73Groh+U6xkIp7DU4w 0CPzpwfXZfK7tafMp0OlZmwcY8JxhA8kho3X2l4byf5LMf3uELO8EVIhBq6oRw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1660361776; a=rsa-sha256; cv=none; b=Dyct/kxOXH2sNAUL5RmE/HV2/m3te/FGQlqI9ODRZEIZC5e/RaL9mIBTLY7Fg80CgkbJko CjNJG+avNTxNC5gWcGzkGt6jtqSAe0E3i993plbTwhLP02cXKX2lhQTVMQUxypBJo+36Rd h1q70iHInj+r5EqGBqm+aDQgM9mtrxrFmampdvZ6lnDTuaczAKYGRicXDbtR5RNn6pksPW DfvZXKz9mEFbMHzqmYRDomz9xY9ek7yvMRgnFONNO2zfuQGEOD3IJ4KCGHvv12bg/5MFfw lv22hMLJH7QtDbOWYSendQ2NL2Uv0zZgeLfz2xP2lYlFMTrp4EGzCI30fn8pDw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch stable/12 has been updated by cy: URL: https://cgit.FreeBSD.org/src/commit/?id=25a97fbf46d52553156af9f9f0eb20b23fe47363 commit 25a97fbf46d52553156af9f9f0eb20b23fe47363 Author: Cy Schubert AuthorDate: 2022-06-12 19:02:47 +0000 Commit: Cy Schubert CommitDate: 2022-08-13 03:35:02 +0000 rc.d/wpa_supplicant: Remove the sleep to improve boot time bapt@ had discovered a noticeable boot improvement without the sleep. Without the sleep does not affect warm or cold boot however a service netif restart may cause dhclient to spend a few extra seconds to rerequest the DHCP request. Reported by: bapt Reviewed by: bapt Differential Revision: https://reviews.freebsd.org/D35457 (cherry picked from commit 116679b39cb94fdb94c02dceb1c2cae719bd3f42) --- libexec/rc/rc.d/wpa_supplicant | 1 - 1 file changed, 1 deletion(-) diff --git a/libexec/rc/rc.d/wpa_supplicant b/libexec/rc/rc.d/wpa_supplicant index 9e5f64a5373f..e7a34e6c5f6e 100755 --- a/libexec/rc/rc.d/wpa_supplicant +++ b/libexec/rc/rc.d/wpa_supplicant @@ -30,7 +30,6 @@ is_ndis_interface() wpa_poststart() { ifconfig ${ifn} down - sleep 2 ifconfig ${ifn} up }