Merge pull request #1133 from FluxionNetwork/revert-1099-patch-2
Revert "Update hostapd.sh"
This commit is contained in:
commit
863bf721ea
|
@ -54,14 +54,13 @@ function ap_service_prep() {
|
|||
APServiceChannel=$5
|
||||
|
||||
ap_service_stop
|
||||
if [[ $APServiceChannel <= 11 ]]; then HardwareMode="g"; else HardwareMode="a"; fi
|
||||
|
||||
# Prepare the hostapd config file.
|
||||
echo "\
|
||||
interface=$APServiceInterface
|
||||
driver=nl80211
|
||||
ssid=$APServiceSSID
|
||||
channel=$APServiceChannel
|
||||
hw_mode=$HardwareMode" \
|
||||
channel=$APServiceChannel" \
|
||||
> "$APServiceConfigDirectory/$APServiceMAC-hostapd.conf"
|
||||
|
||||
# Spoof virtual interface MAC address.
|
||||
|
|
Loading…
Reference in New Issue