Remove struct ieee80211_mgmt::u.probe_req
authorJouni Malinen <j@w1.fi>
Sat, 2 Apr 2016 13:53:04 +0000 (16:53 +0300)
committerJouni Malinen <j@w1.fi>
Sat, 2 Apr 2016 13:55:02 +0000 (16:55 +0300)
commit5914ebf5845b405eb3d6e29572df22daf0d8bb0d
treeae08e1be5255745fc6ad43915c43e36a0cc6751a
parent094e9492659a5dd572fa2a399d7cfcb480ea51c6
Remove struct ieee80211_mgmt::u.probe_req

This struct in the union is empty, but the design of using a zero-length
u8 array here is not fully compatible with C++ and can result in
undesired compiler warnings. This struct is not used anymore, so it can
be removed from the struct ieee80211_mgmt definition to complete the
changes started in commit d447cd596f0a9f73850229e7fa2bdd35755dc750
('Updates for stricter automatic memcpy bounds checking').

Signed-off-by: Jouni Malinen <j@w1.fi>
src/common/ieee802_11_defs.h