From ba5bb630368ab563f7696b09703cef9025643b41 Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Wed, 3 Oct 2012 16:07:25 +0000 Subject: [PATCH] hostapd: Fix empty hw_mode variable. --- functions.hostapd | 2 ++ 1 file changed, 2 insertions(+) diff --git a/functions.hostapd b/functions.hostapd index e3465ab0..c1a6cab7 100644 --- a/functions.hostapd +++ b/functions.hostapd @@ -100,6 +100,8 @@ function hostapd_config_write() { hw_mode="a" fi ieee80211n="1" + else + hw_mode="${mode}" fi cat <