Browse Source

hostapd: fix feature detection

Fix hostapd feature detection after the bump to 2022-05-08.
getopt was not updated correctly after upstream added support for -q arg.

This reenables feature detection so that LuCi can check for features like
SAE, fast roaming etc.

Fixes: c35ff1affe8f ("hostapd: update to 2022-05-08")
Signed-off-by: Robert Marko <[email protected]>
Robert Marko 3 years ago
parent
commit
f03b20837b

+ 1 - 1
package/network/services/hostapd/patches/420-indicate-features.patch

@@ -14,7 +14,7 @@
  	wpa_supplicant_event_global = hostapd_wpa_event_global;
  	for (;;) {
 -		c = getopt(argc, argv, "b:Bde:f:hi:KP:sSTtu:vg:G:q");
-+		c = getopt(argc, argv, "b:Bde:f:hi:KP:sSTtu:vg:G:qv::");
++		c = getopt(argc, argv, "b:Bde:f:hi:KP:sSTtu:g:G:qv::");
  		if (c < 0)
  			break;
  		switch (c) {