mesh: Fix VHT Operation information in peering messages
authorJouni Malinen <jouni@qca.qualcomm.com>
Thu, 17 Dec 2015 16:37:19 +0000 (18:37 +0200)
committerJouni Malinen <j@w1.fi>
Thu, 17 Dec 2015 19:20:02 +0000 (21:20 +0200)
commitd06a35052f182d3aebc7b7e1c780cca7b386997d
tree70842a178cf7d594a8ca15810b94aba180bceed6
parent7e40a8812bff13a2f4c4f3ba531278dca2a7fba3
mesh: Fix VHT Operation information in peering messages

The full VHT channel information was not set in the hostapd data
structures which resulted in incorrect information (all zeros) being
used when building the VHT Operation element for peering messages while
the actual driver mode was set with the full details. We did not seem to
use the VHT information from peering messages, so this does not change
behavior with another wpa_supplicant-based mesh implementation. Anyway,
these elements should match the ones used in Beacon frames.

Signed-off-by: Jouni Malinen <jouni@qca.qualcomm.com>
wpa_supplicant/mesh.c