]> git.ipfire.org Git - people/stevee/network.git/commitdiff
hostapd: Fix empty hw_mode variable.
authorMichael Tremer <michael.tremer@ipfire.org>
Wed, 3 Oct 2012 16:07:25 +0000 (16:07 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Wed, 3 Oct 2012 16:07:25 +0000 (16:07 +0000)
functions.hostapd

index e3465ab0fdca3dd5e011aa1807616bf0a451866e..c1a6cab78989a193cef8ee58efed3b86ea76da98 100644 (file)
@@ -100,6 +100,8 @@ function hostapd_config_write() {
                        hw_mode="a"
                fi
                ieee80211n="1"
+       else
+               hw_mode="${mode}"
        fi
 
        cat <<EOF