Fix ANQP_GET/HS20_GET_ANQP parsing to skip space after address
authorJouni Malinen <j@w1.fi>
Wed, 10 Dec 2014 23:41:48 +0000 (01:41 +0200)
committerJouni Malinen <j@w1.fi>
Thu, 11 Dec 2014 13:18:11 +0000 (15:18 +0200)
commitb68d602dc4435ab6a396c3a203adc1711f06c444
tree8298bc9d72d2683521cddc2bfddcdacd45c60ae1
parent7e71fbc169440edc9c6b15cd818813a9c4cad66a
Fix ANQP_GET/HS20_GET_ANQP parsing to skip space after address

The space following the BSSID was not skipped properly if the following
parameter started with the "hs20:" prefix. For other cases, atoi() ended
up ignoring the space, but it is cleaner to skip it anyway for all
cases.

Signed-off-by: Jouni Malinen <j@w1.fi>
wpa_supplicant/ctrl_iface.c