]> git.hungrycats.org Git - linux/commit
mac80211: Always report TX status
authorAndrei Otcheretianski <andrei.otcheretianski@intel.com>
Wed, 5 Sep 2018 05:06:13 +0000 (08:06 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 4 Nov 2018 13:51:39 +0000 (14:51 +0100)
commite20c2a6a7144717d899d8a86b023e66bf9e18ffb
tree522ccee87a0bec83af1357f92a71d2affe717d16
parentc3767729df273b18171d3147673ccfcb023ac8b8
mac80211: Always report TX status

[ Upstream commit 8682250b3c1b75a45feb7452bc413d004cfe3778 ]

If a frame is dropped for any reason, mac80211 wouldn't report the TX
status back to user space.

As the user space may rely on the TX_STATUS to kick its state
machines, resends etc, it's better to just report this frame as not
acked instead.

Signed-off-by: Andrei Otcheretianski <andrei.otcheretianski@intel.com>
Signed-off-by: Luca Coelho <luciano.coelho@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
net/mac80211/status.c