libiwinfo: ignore log messages from wpa_supplicant while scanning
authorJo-Philipp Wich <jow@openwrt.org>
Sun, 9 Jun 2013 14:39:09 +0000 (14:39 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Sun, 9 Jun 2013 14:39:09 +0000 (14:39 +0000)
commitb22aef0c8e67b4c4ed9734cdb0de9238b4f7c55e
treeabe9c892feb4831e876275e63b2ae25cd5c868df
parente8d887949edcf1d74001483801677e0531644f11
libiwinfo: ignore log messages from wpa_supplicant while scanning

wpa_supplicant may send log and event messages intermixed with the
expected scan results.  This makes "iwinfo wlan0 scan" and LuCI
"site survey" display nothing when many AP's are around.

Eliminate the CTRL-EVENT-BSS-ADDED events, interspersed log messages,
lines with unexpected format.  Increase timeout to handle the max
number of channels (2.4, 3.6, 4.9, 5 GHz).  Insure receive buffer is
null-terminated.

Signed-off-by: Jean-Pierre Tosoni <jp.tosoni@acksys.fr>
SVN-Revision: 36888
package/network/utils/iwinfo/src/iwinfo_nl80211.c