P2P: Use a helper function for P2P_EVENT_GROUP_STARTED events
authorJouni Malinen <j@w1.fi>
Sat, 26 Jul 2014 10:09:17 +0000 (13:09 +0300)
committerJouni Malinen <j@w1.fi>
Sat, 26 Jul 2014 10:25:18 +0000 (13:25 +0300)
commitf8723e1e9f0b38dfd7ed8d0f0791dafd507dc5aa
treecaf18747b9c58b7622b91552e256e8f23a1548d2
parent905c7223b1e01861efef79b49f2eb50b2189e14e
P2P: Use a helper function for P2P_EVENT_GROUP_STARTED events

This makes it easier to change the event message message for indication
when P2P group has stated and removes some duplicated code.

Signed-off-by: Jouni Malinen <j@w1.fi>
wpa_supplicant/p2p_supplicant.c