P2P: Fix GO start on interface that has active station connection
authorJouni Malinen <jouni@qca.qualcomm.com>
Wed, 21 Dec 2011 11:34:25 +0000 (13:34 +0200)
committerJouni Malinen <j@w1.fi>
Wed, 21 Dec 2011 11:34:25 +0000 (13:34 +0200)
commit72d48a80ec5ccdb4d3aecd7c94a0e11a4db549b4
treeda8a1349343fd501bd24c00b8a2fe817df020bb7
parentb088cf82c919a0eca7a5ea1445165f9aeb67cd5e
P2P: Fix GO start on interface that has active station connection

The active station connection triggered wpa_supplicant AP mode startup
to try to update Beacon IEs before the AP mode was properly initialized
and that resulted in NULL pointer dereference in driver_nl80211.c. Fix
this by skipping the IE update before the AP mode is initialized.

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