hostapd: remove unused variable
authorLeon M. George <leon@georgemail.eu>
Tue, 12 Jan 2021 09:07:44 +0000 (10:07 +0100)
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>
Thu, 14 Jan 2021 02:48:41 +0000 (03:48 +0100)
'base' was never used.

Fixes: 498d84fc4e00 ("netifd: add wireless configuration support
and port mac80211 to the new framework")

Signed-off-by: Leon M. George <leon@georgemail.eu>
package/network/services/hostapd/files/hostapd.sh

index 954045bb37c16b26e357cce1a8ce183c17672973..b46d58b4a30bdf9c0a486ea2d92b4119049b2395 100644 (file)
@@ -112,7 +112,6 @@ hostapd_prepare_device_config() {
        local config="$1"
        local driver="$2"
 
-       local base="${config%%.conf}"
        local base_cfg=
 
        json_get_vars country country_ie beacon_int:100 dtim_period:2 doth require_mode legacy_rates \