From: Tomas Winkler Date: Sun, 2 Sep 2007 19:58:21 +0000 (+0300) Subject: [MAC80211]: PS mode fix X-Git-Tag: v2.6.24-rc1~1454^2~658 X-Git-Url: https://openfabrics.org/gitweb/?a=commitdiff_plain;h=475fa49c125d914451805a9fb3cd1baa53591538;p=~shefty%2Frdma-dev.git [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 --- 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);