hostapd: Do not limit BSSID

hostapd limit hard what BSSID to use, this since hosatpd is desinged
to use radio-mac+n as default. We demand the user to select the MAC
address, if having multiple BSS.
This commit is contained in:
Mattias Walström
2026-06-07 11:53:09 +02:00
parent 60afb15488
commit 5cdabe555f
@@ -0,0 +1,17 @@
diff --git a/src/ap/hostapd.c b/src/ap/hostapd.c
index 72a0bf503..9bdc2b41d 100644
--- a/src/ap/hostapd.c
+++ b/src/ap/hostapd.c
@@ -916,12 +916,6 @@ static int hostapd_validate_bssid_configuration(struct hostapd_iface *iface)
if (bits < j)
bits = j;
- if (bits > 40) {
- wpa_printf(MSG_ERROR, "Too many bits in the BSSID mask (%u)",
- bits);
- return -1;
- }
-
os_memset(mask, 0xff, ETH_ALEN);
j = bits / 8;
for (i = 5; i > 5 - j; i--)