[openwrt/openwrt] hostapd: fix feature detection

LEDE Commits lede-commits at lists.infradead.org
Sun Jun 12 14:04:33 PDT 2022


ansuel pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/f03b20837bf821241acecaf94fc6a26ce49991be

commit f03b20837bf821241acecaf94fc6a26ce49991be
Author: Robert Marko <robimarko at gmail.com>
AuthorDate: Sun Jun 12 13:22:33 2022 +0200

    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 <robimarko at gmail.com>
---
 package/network/services/hostapd/patches/420-indicate-features.patch | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/package/network/services/hostapd/patches/420-indicate-features.patch b/package/network/services/hostapd/patches/420-indicate-features.patch
index 80d945ca16..12edb6bacc 100644
--- a/package/network/services/hostapd/patches/420-indicate-features.patch
+++ b/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) {




More information about the lede-commits mailing list