]> git.ipfire.org Git - thirdparty/hostap.git/commit
Check hapd_iface more consistently in hostapd_disable_iface()
authorJouni Malinen <j@w1.fi>
Sun, 11 Nov 2012 11:11:15 +0000 (13:11 +0200)
committerJouni Malinen <j@w1.fi>
Sun, 11 Nov 2012 11:11:15 +0000 (13:11 +0200)
commit8cd93a01a9dd9a391fcd3265e805c8af9173772c
tree1a73c1828a67354ce237ac39c04eb9abedda7d81
parent207fb86411f64dc0c07a85ac886f8f72dd4fa838
Check hapd_iface more consistently in hostapd_disable_iface()

There is no point in the hapd_iface == NULL validate after this pointer
has been dereferences, so move the code dereferencing hapd_iface after
the check.

Signed-hostap: Jouni Malinen <j@w1.fi>
src/ap/hostapd.c