diff options
author | Jouni Malinen <j@w1.fi> | 2012-10-05 11:01:57 -0700 |
---|---|---|
committer | Irfan Sheriff <isheriff@google.com> | 2012-10-05 11:02:25 -0700 |
commit | 9d71283328fbad680cc74d9b287580e373eb4d6c (patch) | |
tree | ef0520c46824bfae1d128351b25d586259cf4a90 /src/p2p/p2p_go_neg.c | |
parent | adddfc48d2d7bfa2b1a2405ab8f404b6383ec236 (diff) | |
download | external_wpa_supplicant_8-9d71283328fbad680cc74d9b287580e373eb4d6c.zip external_wpa_supplicant_8-9d71283328fbad680cc74d9b287580e373eb4d6c.tar.gz external_wpa_supplicant_8-9d71283328fbad680cc74d9b287580e373eb4d6c.tar.bz2 |
P2P: Fix network removal to select correct block
If wpa_s->current_ssid is not set (e.g., after disconnection that
did not result in immediate group removal), an incorrect group could
have been removed since the network block iteration here could select
the network block that is used to store persistent group credentials.
Fix this by verifying that disabled != 2 to avoid picking the network
block that could not have been the temporary P2P group.
Bug: 7290511
Change-Id: Ia61bab3e11137ab2c0c34014e4d8d8bdee2a0469
Diffstat (limited to 'src/p2p/p2p_go_neg.c')
0 files changed, 0 insertions, 0 deletions