Skip to contentSkip to conversation

mac80211#everything: PS mode fix

PATCH New Tomas Winkler 1 participant 1 message Sep 2, 2007 mac80211

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 mac80211#everything: PS mode fix

tx.mode must be set also for buffered frames. It is used in the tx hanlders

---
 net/mac80211/tx.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
net/mac80211/tx.c +1 -0
index 902d5b4..5a7345f 100644
@@ -1877,6 +1877,7 @@ ieee80211_get_buffered_bc(struct ieee80211_hw *hw, int if_id,
 	}
 	sta = tx.sta;
 	tx.flags |= IEEE80211_TXRXD_TXPS_BUFFERED;
+	tx.u.tx.mode = local->hw.conf.mode;
 
 	for (handler = local->tx_handlers; *handler != NULL; handler++) {
 		res = (*handler)(&tx);
Signature · 1 line
1.5.2.2