mac80211_hwsim: enable TODS BIT in null data frame
authorAdiel Aloni <adiel.aloni@intel.com>
Mon, 18 Dec 2017 10:14:04 +0000 (12:14 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Tue, 19 Dec 2017 08:13:00 +0000 (09:13 +0100)
commitb65c7b8aeac818eb8f80ce825073c12ad081b177
tree65fbc29e3ba30871428c89bfa48c06179c42069d
parent4564b187c16327045d87596e8980c65ba7b84c50
mac80211_hwsim: enable TODS BIT in null data frame

Same as in ieee80211_nullfunc_get, enable the TODS bit, otherwise the
nullfunc packet will not be handled in ap rx path.
(will be dropped in ieee80211_accept_frame()).

Signed-off-by: Adiel Aloni <adiel.aloni@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
drivers/net/wireless/mac80211_hwsim.c