hostapd: nl80211 retry creating a interface if it fails the first time
authorKarl Hiramoto <karl@hiramoto.org>
Fri, 29 May 2009 18:48:19 +0000 (21:48 +0300)
committerJouni Malinen <j@w1.fi>
Fri, 29 May 2009 18:48:19 +0000 (21:48 +0300)
commita35187e71a1dd23653fc03ed55ba0f49ec15b8ad
tree3dde711c0297709dd29a43e86a150a684af90fb9
parent8077a80042c371c6c79e4f1e576943c2c64a6d4e
hostapd: nl80211 retry creating a interface if it fails the first time

If hostapd segfaults, or is killed with -9, or the interface already exists,
when the interface is created, it will fail.

Configuration file: /tmp/hostapd/hostapd.conf
Failed to create interface mon.wlan0_0.
Using interface wlan0_0 with hwaddr 00:13:01:01:08:0a and ssid 'IG_0405_LAN'
Failed to set beacon head/tail or DTIM period
Failed to create interface wlan0_1.

Try to remove the interface and re-create it before aborting.
src/drivers/driver_nl80211.c