From: Felix Fietkau Date: Thu, 10 Aug 2023 19:19:58 +0000 (+0200) Subject: hostapd: remove config_id parameters from hostapd.conf X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=ed0ad7759c6ff823f3d43c5189cf6c2d59529244;p=openwrt%2Fstaging%2Fdangole.git hostapd: remove config_id parameters from hostapd.conf They are no longer used Signed-off-by: Felix Fietkau --- diff --git a/package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh b/package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh index 81c08b00bb..39683376b5 100644 --- a/package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh +++ b/package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh @@ -491,8 +491,6 @@ $base_cfg EOF json_select .. - radio_md5sum=$(md5sum $hostapd_conf_file | cut -d" " -f1) - echo "radio_config_id=${radio_md5sum}" >> $hostapd_conf_file } mac80211_hostapd_setup_bss() { diff --git a/package/network/services/hostapd/files/hostapd.sh b/package/network/services/hostapd/files/hostapd.sh index 49db03ed46..65ae662c4d 100644 --- a/package/network/services/hostapd/files/hostapd.sh +++ b/package/network/services/hostapd/files/hostapd.sh @@ -1159,9 +1159,6 @@ hostapd_set_bss_options() { append bss_conf "$val" "$N" done - bss_md5sum="$(echo $bss_conf | md5sum | cut -d" " -f1)" - append bss_conf "config_id=$bss_md5sum" "$N" - append "$var" "$bss_conf" "$N" return 0 }