git: d8503e8768aa - main - rc: add wlan_gcmp to the hostapd / wpa_supplicant rc scripts

From: Adrian Chadd <adrian_at_FreeBSD.org>
Date: Thu, 27 Mar 2025 01:28:53 UTC
The branch main has been updated by adrian:

URL: https://cgit.FreeBSD.org/src/commit/?id=d8503e8768aa63cbec349393acfc48db876d93db

commit d8503e8768aa63cbec349393acfc48db876d93db
Author:     Adrian Chadd <adrian@FreeBSD.org>
AuthorDate: 2025-03-13 15:10:07 +0000
Commit:     Adrian Chadd <adrian@FreeBSD.org>
CommitDate: 2025-03-27 01:28:46 +0000

    rc: add wlan_gcmp to the hostapd / wpa_supplicant rc scripts
    
    Add wlan_gcmp as a module to check for before starting hostapd/wpa_supplicant.
    
    Differential Revision:  https://reviews.freebsd.org/D49344
    Reviewed by:    bz, cy
---
 libexec/rc/rc.d/hostapd        | 2 +-
 libexec/rc/rc.d/wpa_supplicant | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/libexec/rc/rc.d/hostapd b/libexec/rc/rc.d/hostapd
index 251df91a280b..264cb4ef476b 100755
--- a/libexec/rc/rc.d/hostapd
+++ b/libexec/rc/rc.d/hostapd
@@ -34,7 +34,7 @@ fi
 
 command_args="-P ${pidfile} -B ${conf_file}"
 required_files="${conf_file}"
-required_modules="wlan_xauth wlan_wep wlan_tkip wlan_ccmp"
+required_modules="wlan_xauth wlan_wep wlan_tkip wlan_ccmp wlan_gcmp"
 extra_commands="reload"
 
 load_rc_config ${name}
diff --git a/libexec/rc/rc.d/wpa_supplicant b/libexec/rc/rc.d/wpa_supplicant
index 61525a82894b..e11dddfb5fd3 100755
--- a/libexec/rc/rc.d/wpa_supplicant
+++ b/libexec/rc/rc.d/wpa_supplicant
@@ -31,7 +31,7 @@ conf_file=${wpa_supplicant_conf_file}
 pidfile="/var/run/${name}/${ifn}.pid"
 command_args="-B -i $ifn -c $conf_file -D $driver -P $pidfile"
 required_files=$conf_file
-required_modules="wlan_wep wlan_tkip wlan_ccmp"
+required_modules="wlan_wep wlan_tkip wlan_ccmp wlan_gcmp"
 
 # doesn't make sense to run in a svcj: nojail keyword
 wpa_supplicant_svcj="NO"