From nobody Tue Jun 14 14:56:18 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 615F3857FB7; Tue, 14 Jun 2022 14:56:18 +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 4LMs2V2HCWz4lpg; Tue, 14 Jun 2022 14:56:18 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1655218578; 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=HANS8pDNXZ+vHcn2wmW68X1Ji88ok6srlPmKU3TOIEM=; b=sHZ3OHTg/wfn1NmSZFn2pcD5DpFKb/HLbUYSji3UrMiTu0BX3x0Hvn0xTxjWMbUQreYR8M yvKHJ344eO37FiM2nAyZ1gPtCjp8D66BVBD323oXPiwdquIR9E6/W+6JObUDdl9FDVCrrZ OPRQL6XRWEc62YnHj6lBkb7shfPhaIsxp3W1GZiQwCBbhk3CP202ENGzJ77Im1+LFGDvmN pH4Wq5dcg6vd7Hpkb5fAi7mXob9n2CPiLV6GeDm/Vef8dtQQPB78MrHng4EmsFiLQdDRVc T+zvRD1u7p5JIJMrdBzQ/3wq9nQGNW3qSyNyCP5+VFd3Ie8TAG85i393lU5Xog== 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 2DECD4781; Tue, 14 Jun 2022 14:56:18 +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 25EEuIq4089585; Tue, 14 Jun 2022 14:56:18 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 25EEuI0H089584; Tue, 14 Jun 2022 14:56:18 GMT (envelope-from git) Date: Tue, 14 Jun 2022 14:56:18 GMT Message-Id: <202206141456.25EEuI0H089584@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Cy Schubert Subject: git: 116679b39cb9 - main - 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/main X-Git-Reftype: branch X-Git-Commit: 116679b39cb94fdb94c02dceb1c2cae719bd3f42 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1655218578; 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=HANS8pDNXZ+vHcn2wmW68X1Ji88ok6srlPmKU3TOIEM=; b=WbawOAjDGsqvSuqJ9tYVyQVrAn6OyJ0YYgaoan//qTg7gRt1r3Fk7lh0V5NBqvTiXONEDu PPqyTa2ajOAM43LcdyAr9QvELslS5etzyRgYQbTwVGeXiSDqqSNeAC8ITVh3kId3lUC59j TXTNT4TJNZoI/HOOCvADdvWTVIQdotPjhysC5IhyRpcvIewxMCawXVW8fsFedIVa58HiGd q2pIcxcIf81oHri1DQvvIhIHa83uVluAO8EKx138WxBAmi2w0va3Luvtq2qcXxlfsmPrw7 DlUjDzgmXwsZv/d30yXrgNAWRtCs8mN+m8ycZmxg/l61f8hAklyIBc+L808jqw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1655218578; a=rsa-sha256; cv=none; b=QBnaS2xZuM9StX2GlfZlLZXD4xQ7T3XsAE4soCF/2+1eGEfhuK1BpYh4XK4svDvgMn1A2C jT4mc4hYXFKrQO4up4Ju8stm6o92m+EONxqkowLAQiu9eOiNC9vLHOv5QGowK9UXPJPeMN MLKRJKZNO1fKo4NoaQQd2NtksbPDVA29a3R+iXauiq7fVp5kPjTDWPMA84Zz5z/Gtwft5y kk87TgdBsWdu2NbOzaEHa6+U3vZvw4B+iCmvBg6SeU3hPOYgWY/hrzkDgNuy4JTUL0y8Qp yDwEyN45dnofAf+V7JEddtyHxi8zBjsJjZIO0jhVPLR+T7b3BW7GIjtQvlobYQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by cy: URL: https://cgit.FreeBSD.org/src/commit/?id=116679b39cb94fdb94c02dceb1c2cae719bd3f42 commit 116679b39cb94fdb94c02dceb1c2cae719bd3f42 Author: Cy Schubert AuthorDate: 2022-06-12 19:02:47 +0000 Commit: Cy Schubert CommitDate: 2022-06-14 14:55:52 +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 MFC after: 2 months Differential Revision: https://reviews.freebsd.org/D35457 --- 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 46cb8499e12b..7a95ccb36be4 100755 --- a/libexec/rc/rc.d/wpa_supplicant +++ b/libexec/rc/rc.d/wpa_supplicant @@ -22,7 +22,6 @@ fi wpa_poststart() { ifconfig ${ifn} down - sleep 2 ifconfig ${ifn} up }