]> git.ipfire.org Git - thirdparty/hostap.git/commit
wext: Filter unexpected interface added/up events
authorJouni Malinen <j@w1.fi>
Sat, 18 Feb 2012 11:28:21 +0000 (13:28 +0200)
committerJouni Malinen <j@w1.fi>
Sat, 18 Feb 2012 11:28:21 +0000 (13:28 +0200)
commit6d441b0da228ac1ccca51676c9a93ec4e092d23f
tree6e0c5bafe50f17e790245c617d28dbedf90f6adf
parentcb6710a4a5725c036b69ff751545c32d37f2e7de
wext: Filter unexpected interface added/up events

It looks like a RTM_NEWLINK event claiming the interface to be UP is
delivered just before removing an interface after having first indicated
that the interface was going down/removed. Ignore this event if the
interface is not present anymore at the moment the event is processed.
This fixes issues where an interface that was re-added after being
removed did not get reconfigured properly.

Signed-hostap: Jouni Malinen <j@w1.fi>
intended-for: hostap-1
src/drivers/driver_wext.c