TDLS: Fix add/set STA operation
authorJouni Malinen <jouni@qca.qualcomm.com>
Thu, 14 Feb 2013 16:23:33 +0000 (18:23 +0200)
committerJouni Malinen <j@w1.fi>
Thu, 14 Feb 2013 19:01:07 +0000 (21:01 +0200)
commitb8df43dec61646812ecab5bb46f6aa369e6267e0
treee282acc6ca6551052a28b81599b73137b603e004
parentcd8db7c3ba207714d0b9d75da6d62677c99d0be1
TDLS: Fix add/set STA operation

Commit a9a1d0f08aaf7c96f40def0d7966399b89b2a7c0 added vht_capabilities
to struct hostapd_sta_add_params but forgot to update
wpa_supplicant_tdls_peer_addset() to initialize the variable to NULL.
This could result in uninitialized pointer being used in
driver_nl80211.c when adding a TDLS peer entry. Fix this by clearing the
hostapd_sta_add_params with memset.

Signed-hostap: Jouni Malinen <jouni@qca.qualcomm.com>
wpa_supplicant/wpas_glue.c