ctrl_iface: BSS command to skip info items if parsing fails
authorJonathan Afek <jonathan@wizery.com>
Tue, 14 Jun 2016 10:31:18 +0000 (13:31 +0300)
committerJouni Malinen <j@w1.fi>
Sun, 19 Jun 2016 20:48:07 +0000 (23:48 +0300)
commit3b208346ec56342fda736e62601df485ed002493
tree138a2e04e1733af58a4d2341d011bf78b9700d35
parent51435515fbe59d4042943c33426a8aa19264195f
ctrl_iface: BSS command to skip info items if parsing fails

In some cases parsing of the mesh scan info for a BSS or the P2P scan
info can fail. One reason can be that the Beacon/Probe Response frame
contained malformed length vendor IEs which are not parsed when adding
to the BSS table. Instead of skipping the whole BSS of the BSS command,
just skip the part that failed to parse.

Signed-off-by: Jonathan Afek <jonathanx.afek@intel.com>
wpa_supplicant/ctrl_iface.c