Fix a never-ending loop with multiple radios in wpa_supplicant
authorTomasz Bursztyka <tomasz.bursztyka@linux.intel.com>
Mon, 9 Dec 2013 12:47:55 +0000 (14:47 +0200)
committerJouni Malinen <j@w1.fi>
Sun, 15 Dec 2013 05:16:05 +0000 (21:16 -0800)
commitb154a24e8388287f19d6085c44bcf163f5e88276
tree6b425da57259b26eb8b8752b9370ab84c1513cf6
parent493ba877c3057d8246d982911a87754e1cf41b19
Fix a never-ending loop with multiple radios in wpa_supplicant

Commit 202dec2a94695a696236ee5a2ad1be0905ccea14 introduced a never
ending loop for a case where a single wpa_supplicant process is used
with multiple radios. Fix this by advancing the iface pointer properly
to the next interface in the loop until a NULL pointer is hit.

Signed-off-by: Tomasz Bursztyka <tomasz.bursztyka@linux.intel.com>
wpa_supplicant/wpa_supplicant.c