commit | 1772d348ea3f6748596c1bd69387457f53d996c4 | [log] [tgz] |
---|---|---|
author | Jouni Malinen <j@w1.fi> | Sun Mar 01 21:50:34 2015 +0200 |
committer | Jouni Malinen <j@w1.fi> | Sun Mar 01 22:36:53 2015 +0200 |
tree | 78c4631e7f3d7e1eff22680b8e8bbc3ec22b57d7 | |
parent | 3f9ebc439c9468bf51219c931a05028aa8a3d3a7 [diff] |
P2P: Fix interface deinit for failed group interface initialization wpa_supplicant_deinit_iface() ends up removing all P2P groups if the removed interface is the parent interface. This is correct behavior in general, but this resulted in issues in the new group interface initialization error path since wpa_s->parent was not assigned before hitting this check. Fix this by assigning wpa_s->parent as part of wpa_supplicant_add_iface(). Signed-off-by: Jouni Malinen <j@w1.fi>