[PATCH] hostapd: nl80211 retry creating a interface if it fails the first time.

Jouni Malinen j
Fri May 29 11:50:55 PDT 2009

On Fri, May 15, 2009 at 12:36:08PM +0200, Karl Hiramoto wrote:
> If hostapd segfaults, or is killed with -9, or the interface already exists, when the interface is created, it will fail.

> This patch solves this issue.

Thanks, applied with a change to do this only on ENFILE errors which is
the errno used by __dev_alloc_name() in this particular case where
mac80211 fails to add an interface due to the interface being there

Jouni Malinen                                            PGP id EFC895FA

More information about the Hostap mailing list