From afd54bb41adb06a04659244793165ace7e53b324 Mon Sep 17 00:00:00 2001 From: Arne Fitzenreiter Date: Wed, 6 Nov 2024 11:49:11 +0100 Subject: [PATCH] hostapd: fix start/stop buttons Signed-off-by: Arne Fitzenreiter --- html/cgi-bin/wlanap.cgi | 4 ++-- lfs/hostapd | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/html/cgi-bin/wlanap.cgi b/html/cgi-bin/wlanap.cgi index a5d4d8d808..1123992839 100644 --- a/html/cgi-bin/wlanap.cgi +++ b/html/cgi-bin/wlanap.cgi @@ -107,11 +107,11 @@ if ($cgiparams{'ACTION'} eq "$Lang::tr{'save'}") { } # Start -} elsif ($wlanapsettings{'ACTION'} eq "$Lang::tr{'start'}") { +} elsif ($cgiparams{'ACTION'} eq "$Lang::tr{'start'}") { &General::system("/usr/local/bin/wlanapctrl", "start"); # Stop -} elsif ($wlanapsettings{'ACTION'} eq "$Lang::tr{'stop'}") { +} elsif ($cgiparams{'ACTION'} eq "$Lang::tr{'stop'}") { &General::system("/usr/local/bin/wlanapctrl", "stop"); } diff --git a/lfs/hostapd b/lfs/hostapd index 543cc34e20..c63884c04b 100644 --- a/lfs/hostapd +++ b/lfs/hostapd @@ -33,7 +33,7 @@ DL_FROM = $(URL_IPFIRE) DIR_APP = $(DIR_SRC)/$(THISAPP) TARGET = $(DIR_INFO)/$(THISAPP) PROG = hostapd -PAK_VER = 67 +PAK_VER = 68 DEPS = -- 2.39.5