From: Tomas Winkler Date: Sun, 2 Sep 2007 19:58:21 +0000 (+0300) Subject: [MAC80211]: PS mode fix X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=475fa49c125d914451805a9fb3cd1baa53591538;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.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 acfc3054d467..ca262a99e56f 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);