[3/9] hostapd: Correctly parse capabilities for the 6 GHz band

Message ID 20260429194934.863108-3-michael.tremer@ipfire.org
State New
Headers
Series [1/9] hostapd: Force setting reg domain before hostapd starts |

Commit Message

Michael Tremer 29 Apr 2026, 7:49 p.m. UTC
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
---
 src/initscripts/packages/hostapd | 6 ++++++
 1 file changed, 6 insertions(+)
  

Patch

diff --git a/src/initscripts/packages/hostapd b/src/initscripts/packages/hostapd
index 583a8eba4..0bd90bda2 100644
--- a/src/initscripts/packages/hostapd
+++ b/src/initscripts/packages/hostapd
@@ -174,6 +174,12 @@  write_config() {
 					break
 				fi
 				;;
+
+			"* 7115.0 MHz"*)
+				if [ "${CONFIG["BAND"]}" = "6g" ]; then
+					break
+				fi
+				;;
 		esac
 	done <<<"$(iw phy "${phy}" info)"