WPS: Remove duplicate networks after WPS
authorVinayak Kamath <vkamat@codeaurora.org>
Tue, 30 Apr 2013 10:35:50 +0000 (13:35 +0300)
committerJouni Malinen <j@w1.fi>
Tue, 30 Apr 2013 10:35:50 +0000 (13:35 +0300)
commit741ed9fc2503550270eb3e47803373de5c8994fd
tree2497a558a2428b9c8801c99be932104d449cc3e5
parentb57b560034f1bb1ad3a3892228940dde97323c0e
WPS: Remove duplicate networks after WPS

Each attempt to connect to the same network using WPS would result
in the duplicate configuration getting added. Avoid such redundant
additions by comparing the network configuration with an already
existing one and remove the older network if the new credential
provisioned through WPS is identical.

Signed-hostap: Jouni Malinen <jouni@qca.qualcomm.com>
wpa_supplicant/wps_supplicant.c