mirror of
https://github.com/kernelkit/infix.git
synced 2026-07-22 01:13:00 +02:00
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:
@@ -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--)
|
||||
Reference in New Issue
Block a user