WNM: Simplify how candidate subelements are stored
authorJouni Malinen <j@w1.fi>
Sat, 22 Nov 2014 13:37:27 +0000 (15:37 +0200)
committerJouni Malinen <j@w1.fi>
Sat, 22 Nov 2014 16:06:37 +0000 (18:06 +0200)
commit093226783dc78a7c80af516f2fe76909bda8b400
tree5c2fef37d18d3fa2e8d8a7967846c9a144240338
parent8c9af762f30d0a52d7397716b735a4f81b279dda
WNM: Simplify how candidate subelements are stored

There is no need to use a separately allocated data structures for this.
A bitfield indicating which information is present and variables within
struct neighbor_report are simpler to use and more efficient.

Signed-off-by: Jouni Malinen <j@w1.fi>
wpa_supplicant/wnm_sta.c
wpa_supplicant/wnm_sta.h