hostapd: remove config_id parameters from hostapd.conf
authorFelix Fietkau <nbd@nbd.name>
Thu, 10 Aug 2023 19:19:58 +0000 (21:19 +0200)
committerFelix Fietkau <nbd@nbd.name>
Thu, 10 Aug 2023 20:27:59 +0000 (22:27 +0200)
They are no longer used

Signed-off-by: Felix Fietkau <nbd@nbd.name>
package/kernel/mac80211/files/lib/netifd/wireless/mac80211.sh
package/network/services/hostapd/files/hostapd.sh

index 81c08b00bbc77e6fa5ac781da6170681f52348db..39683376b5926291ff4471487ff25d7e4624f202 100644 (file)
@@ -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() {
index 49db03ed46256b6020dd42b36a88c8896179339e..65ae662c4d7823d09035407f00dc311d103c0494 100644 (file)
@@ -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
 }