Split hostapd_interface_deinit() into deinit and free parts
authorJouni Malinen <j@w1.fi>
Sun, 27 Dec 2009 19:31:13 +0000 (21:31 +0200)
committerJouni Malinen <j@w1.fi>
Sun, 27 Dec 2009 19:31:13 +0000 (21:31 +0200)
commitf7c478337957d4a669cce2675ba7749d7318c518
tree11be3e98d2385b1f478ebcd6706bb1c513d17873
parentf78feb6a7268584a88b2dfd384e31e320b887e10
Split hostapd_interface_deinit() into deinit and free parts

This allows the driver interface to be deinitialized before
struct hostapd_data instance gets freed. This needs to be done so
that the driver wrapper does not maintain a context pointer to
freed memory.
hostapd/main.c
src/ap/hostapd.c
src/ap/hostapd.h
wpa_supplicant/ap.c