Find correct driver for interface additions/removals
authorRoy Marples <roy@marples.name>
Tue, 15 Mar 2016 13:02:08 +0000 (13:02 +0000)
committerJouni Malinen <j@w1.fi>
Tue, 22 Mar 2016 15:41:37 +0000 (17:41 +0200)
commit45e3fc72c61a61dbd1e2fc3fd9fd7bf853b9f5fe
treeb677bf535bb04be1ee42a7fcce53613ded9104cd
parent90377029c6805b339dfa3307263118986295796a
Find correct driver for interface additions/removals

Interface additions/removals are not guaranteed to be for the driver
listening to the kernel events. As such, send the events to
wpa_supplicant_event_global() which can then pick the correct interface
registered with wpa_supplicant to send the event to.

Signed-off-by: Roy Marples <roy@marples.name>
hostapd/main.c
src/ap/drv_callbacks.c
src/ap/hostapd.c
src/drivers/driver.h
src/drivers/driver_bsd.c
src/drivers/driver_nl80211.c
src/drivers/driver_nl80211.h
wpa_supplicant/events.c
wpa_supplicant/wpa_priv.c
wpa_supplicant/wpa_supplicant.c