]> git.ipfire.org Git - thirdparty/hostap.git/commit
Fix driver initialization not to crash if driver does not use init2()
authorJouni Malinen <jouni.malinen@atheros.com>
Wed, 2 Dec 2009 14:43:09 +0000 (16:43 +0200)
committerJouni Malinen <j@w1.fi>
Wed, 2 Dec 2009 14:43:09 +0000 (16:43 +0200)
commitd8222ae38c3be3fba794462d11fed8b57590c7f5
treec24a3a41c91e283322fe23f3bf723d9856f7db23
parente0e14a7bc337b2827ea2ddd81b2a13fb06c8911f
Fix driver initialization not to crash if driver does not use init2()

8a5ab9f5e56cd2f5781c2d92f41495e60d544780 fixed global driver context
for init2(), but it also broke driver initialization with driver
wrappers that do not use init2().. Fix this by setting wpa_s->global
before it gets dereferenced.
wpa_supplicant/wpa_supplicant.c