mirror of
https://github.com/coolsnowwolf/lede.git
synced 2025-04-15 18:03:30 +00:00

Removed, merged upstream:
- 170-wpa_supplicant-fix-compiling-without-IEEE8021X_EAPOL.patch
Manually refreshed:
- 040-mesh-allow-processing-authentication-frames-in-block.patch
- 600-ubus_support.patch
- 761-shared_das_port.patch
Fixes: a091a96
("hostapd: always enable nl80211 driver support")
Signed-off-by: Andre Heider <a.heider@gmail.com>
12 lines
304 B
Diff
12 lines
304 B
Diff
--- a/hostapd/hostapd_cli.c
|
|
+++ b/hostapd/hostapd_cli.c
|
|
@@ -757,7 +757,7 @@ static int wpa_ctrl_command_sta(struct w
|
|
}
|
|
|
|
buf[len] = '\0';
|
|
- if (memcmp(buf, "FAIL", 4) == 0)
|
|
+ if (memcmp(buf, "FAIL", 4) == 0 || memcmp(buf, "UNKNOWN COMMAND", 15) == 0)
|
|
return -1;
|
|
if (print)
|
|
printf("%s", buf);
|