WNM: Fix AP processing without wnm_oper driver callback
authorJouni Malinen <j@w1.fi>
Fri, 27 Dec 2013 16:44:21 +0000 (18:44 +0200)
committerJouni Malinen <j@w1.fi>
Fri, 27 Dec 2013 16:48:04 +0000 (18:48 +0200)
commit477689788c59f62a32c9d76e44838aa22bab0b05
treef94623529883cd2a1e9c49ec48ab7ea68a84f528
parent2025cad9b8af457051db0e7171ad48fb8b55843c
WNM: Fix AP processing without wnm_oper driver callback

hostapd_drv_wnm_oper() needs to indicate an error if the driver callback
function is not implemented. Without this, the buf_len argument could
have been left uninitialized which could result in crashing the process.

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