diff options
author | Denton Gentry <denny@geekhold.com> | 2018-05-30 15:05:42 +0000 |
---|---|---|
committer | John Crispin <john@phrozen.org> | 2018-06-07 09:27:50 +0200 |
commit | a84962ea35e4e97f1c4a42f2eac0242cc2cbd879 (patch) | |
tree | 5de14f02a9fe530501dda96a8891467b33a7084b /target/linux/ar71xx/generic | |
parent | fb8a578aa70572b3e56b64d296e22c2931e77b69 (diff) | |
download | upstream-a84962ea35e4e97f1c4a42f2eac0242cc2cbd879.tar.gz upstream-a84962ea35e4e97f1c4a42f2eac0242cc2cbd879.tar.bz2 upstream-a84962ea35e4e97f1c4a42f2eac0242cc2cbd879.zip |
hostapd: make cli treat UNKNOWN COMMAND as failing
Avoid infinite loop at 100% CPU when running hostapd_cli
if CONFIG_CTRL_IFACE_MIB is not defined.
_newselect(4, [3], NULL, NULL, ...)
recvfrom(3, "UNKNOWN COMMAND\n", 4095, 0, NULL, NULL) = 16
sendto(3, "STA-NEXT UNKNOWN COMMAND", 24, 0, NULL, 0) = 24
Signed-off-by: Denton Gentry <denny@geekhold.com>
Diffstat (limited to 'target/linux/ar71xx/generic')
0 files changed, 0 insertions, 0 deletions