From 3dd370e0885d9e4e4669a815d5ea26df0594c091 Mon Sep 17 00:00:00 2001 From: Jerry Vonau Date: Sat, 4 Apr 2020 13:20:08 -0500 Subject: [PATCH] limit hostapd to 2.4GHz for now on RPI --- roles/network/tasks/hostapd.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/network/tasks/hostapd.yml b/roles/network/tasks/hostapd.yml index 691d9a76b..1c0df4803 100644 --- a/roles/network/tasks/hostapd.yml +++ b/roles/network/tasks/hostapd.yml @@ -11,7 +11,7 @@ - name: Setting WiFi channel to {{ current_host_channel.stdout }} on RPi hardware set_fact: host_channel: "{{ current_host_channel.stdout }}" - when: current_host_channel.stdout != "" and discovered_wireless_iface != "none" and rpi_model != "none" + when: current_host_channel.stdout != "" and current_host_channel.stdout|int <= 13 and discovered_wireless_iface != "none" and rpi_model != "none" - name: Create /etc/hostapd/hostapd.conf from template template: