Merge pull request #1529 from kernelkit/wifi-followup

hostapd: Do not limit BSSID
This commit is contained in:
Mattias Walström
2026-06-07 17:30:52 +02:00
committed by GitHub
2 changed files with 23 additions and 0 deletions
+6
View File
@@ -18,6 +18,12 @@ All notable changes to the project are documented in this file.
- Add `legacy-rates` option to re-enable 802.11b rates on 2.4 GHz for
old IoT devices (disabled by default)
### Fixes
- Firewall masquerade no longer enables the global IPv4/IPv6 forwarding
sysctls. You must now enable IP forwarding explicitly on the interfaces
that should route traffic; enabling NAT alone is no longer enough
[wifi]: wifi.md
[v26.05.0][] - 2026-05-29
@@ -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--)