]> asedeno.scripts.mit.edu Git - linux.git/commit
mac80211: Don't wake up from PS for offchannel TX
authorAndrei Otcheretianski <andrei.otcheretianski@intel.com>
Wed, 5 Sep 2018 05:06:14 +0000 (08:06 +0300)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 5 Sep 2018 08:05:02 +0000 (10:05 +0200)
commit94a5b3acd0aef83c0e38b5117eda7b2abf4a05a4
treee7750210ae01293a028329728faa425d2c555d90
parent8682250b3c1b75a45feb7452bc413d004cfe3778
mac80211: Don't wake up from PS for offchannel TX

Otherwise the offchannel frame might be queued due to
IEEE80211_QUEUE_STOP_REASON_PS and later dropped (in
ieee80211_tx_frags()).  Anyway, it doesn't make much sense to wake up
the device during ROC.

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>
net/mac80211/tx.c