P2P: Clear show_group_started on GO start
authorJouni Malinen <jouni@qca.qualcomm.com>
Thu, 1 Dec 2011 08:46:06 +0000 (10:46 +0200)
committerJouni Malinen <j@w1.fi>
Thu, 1 Dec 2011 08:49:26 +0000 (10:49 +0200)
commita9e02d593d21c43880fa98028ccf232b9d541df9
tree43d400fb74b9830b85205fef3e1cdbc4e3eff39a
parent8e5f9134563d3310284bf8b3084744b1b2eb2b86
P2P: Clear show_group_started on GO start

The show_group_started variable could be left to 1 based on an earlier
failed attempt to start P2P client operation. This can result in
unexpected P2P-GROUP-STARTED event when a GO is started without group
formation (e.g., re-invoke a persistent group or start an autonomous
GO). Avoid this by explicitly clearing show_group_start when setting up
the GO.

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