mac80211: ignore tx status for PS stations in ieee80211_tx_status_ext
authorFelix Fietkau <nbd@nbd.name>
Tue, 13 Nov 2018 19:32:13 +0000 (20:32 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 13 Dec 2018 08:16:23 +0000 (09:16 +0100)
commit50749911b1cc6ab2534139ea72d81396e18e5f44
treef43214e841b9da2131f1cafdf57c62a6136c324c
parenta75ac4e15e9c2f45efdaebc5ecbf250722a6589b
mac80211: ignore tx status for PS stations in ieee80211_tx_status_ext

commit a317e65face482371de30246b6494feb093ff7f9 upstream.

Make it behave like regular ieee80211_tx_status calls, except for the lack of
filtered frame processing.
This fixes spurious low-ack triggered disconnections with powersave clients
connected to an AP.

Fixes: f027c2aca0cf4 ("mac80211: add ieee80211_tx_status_noskb")
Cc: stable@vger.kernel.org
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
net/mac80211/status.c