From 475fa49c125d914451805a9fb3cd1baa53591538 Mon Sep 17 00:00:00 2001 From: Tomas Winkler Date: Sun, 2 Sep 2007 22:58:21 +0300 Subject: [MAC80211]: PS mode fix tx.mode must be set also for buffered frames. It is used in the tx hanlders Signed-off-by: Tomas Winkler Signed-off-by: John W. Linville Signed-off-by: David S. Miller --- net/mac80211/tx.c | 1 + 1 file changed, 1 insertion(+) (limited to 'net') diff --git a/net/mac80211/tx.c b/net/mac80211/tx.c index acfc3054d46..ca262a99e56 100644 --- a/net/mac80211/tx.c +++ b/net/mac80211/tx.c @@ -1901,6 +1901,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); -- cgit v1.2.3