From nobody Sat Aug 13 03:34:12 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 4M4R3n1bZTz4YxNZ; Sat, 13 Aug 2022 03:34:13 +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 4M4R3n13gpz3dwx; Sat, 13 Aug 2022 03:34:13 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1660361653; 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=MZV3QK4zNcRbdByCh1Nunemlqegtcjw9gWRApWIqGIc=; b=VLtTtsvZu46sCR6fVdz03qGHVTo9IJvud/e5mzHVJeaRSjE/HZ7crMV9VwqXo2FrqE8Htk q4YnmUkFHAiVEvE3USIRpfasK1glca+9Wud37jpS6lovem/DDuSgVHT9aeFQOFcGZDPUMa UvqUXRf/oBsxQV9Wvn8JJ1zVG18OiaV7sa/iSPvZREP2jHodkTD638C3pUq+5f/0PE+cv/ AUgrLJNPFCHiTYECUO4T+mlDEVR98mWQ0Qemsz/3vITSLCeIz9OPT9g8UiTzkUZ51TK3J1 hFwj1K4RcKyn1WCoPBwKZtctNrox3bcdNpCa0BJfVmgi/PkOeXBkTJirD+H8/A== 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 4M4R3n05WZzwsG; Sat, 13 Aug 2022 03:34:13 +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 27D3YCmX018901; Sat, 13 Aug 2022 03:34:12 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 27D3YC8b018900; Sat, 13 Aug 2022 03:34:12 GMT (envelope-from git) Date: Sat, 13 Aug 2022 03:34:12 GMT Message-Id: <202208130334.27D3YC8b018900@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: fddbdafd2d11 - stable/13 - 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/13 X-Git-Reftype: branch X-Git-Commit: fddbdafd2d112e65c61800edca087992e5b80abc Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1660361653; 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=MZV3QK4zNcRbdByCh1Nunemlqegtcjw9gWRApWIqGIc=; b=yFeb/eLtFn3pSenuBKM9+VI/Hjb8ihXSUwWzlde3r99j4yikTge/uTXbUYJ73lAu8aruit IXfsWUwuHWZhR+IlPbcWYFIc9XvV7Bc6XcIRWjxMqHVjc9WM07jtues0ympvt9k9aBe6qM tPabiJH6cVMyNdSH51b0m5tL5Nm60uFF0lXazzSlMXic+cVVvyF9Xy/Y1K4TtAVVQDHXpb cYqNhsSOExnGhs0gsR61FfhHqPMXNUL+YsxFYrGT0hxWu7LWDrjhXD307H6AGsjUqvBlIj ++JxxTgcq9Vv5Ttwum7YW3dZRYTbhpzzINnmMbOizHE1Zo5+MzFP2Yp78tYPUQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1660361653; a=rsa-sha256; cv=none; b=yJBh50GjeByJ9S+idoplWf288LO+/QDiA54CK1dXemghv5a44z+FGoNlD5bRFjrEotveD/ Dcr6sQkXFwe9J3WKvQGmVg/bLucbcGxFpzOBZEu3Ivwqm0z+F131bd4AAxc/X2cDAFOU4L lj13hA14OK3DYdQpZD/wAeT8BDzHO1rzBzHyKV/zckEwHwgD3JUmlA1+APd1VNPshq6tV0 B90ifw74bVHnGB1tEDL0HcCYBeYF66f+DKtTv4vdtJa4keC5VXde621YoPv7U2LzgxLTvO Ze4qKAoUqkgpzZ/8Ghr4w73lFnxBioG7kxYsuMtlsJnGDELTKHtGooBEc+FzTA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch stable/13 has been updated by cy: URL: https://cgit.FreeBSD.org/src/commit/?id=fddbdafd2d112e65c61800edca087992e5b80abc commit fddbdafd2d112e65c61800edca087992e5b80abc Author: Cy Schubert AuthorDate: 2022-06-12 19:02:47 +0000 Commit: Cy Schubert CommitDate: 2022-08-13 03:33:46 +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 }