Avoid hostapd segfault on invalid driver association event
authorJouni Malinen <j@w1.fi>
Wed, 7 Apr 2010 07:01:49 +0000 (10:01 +0300)
committerJouni Malinen <j@w1.fi>
Wed, 7 Apr 2010 07:01:49 +0000 (10:01 +0300)
commit68532a9cebbb52177566a5ccfe989ad4b3ba670f
tree906aa375d4f8103a79fd8385f3b239861ca6568a
parent99f4ae67b7a241902c01178478b7b213849f53f7
Avoid hostapd segfault on invalid driver association event

Running hostapd and wpa_supplicant on the same interface at the same
time is not expected to work, but it should not cause hostapd to crash.
Ignore station mode association events (no addr field) to avoid this.
src/ap/drv_callbacks.c