aboutsummaryrefslogtreecommitdiffstats
path: root/net/mac80211
diff options
context:
space:
mode:
authorTomas Winkler <tomas.winkler@intel.com>2007-09-02 15:58:21 -0400
committerDavid S. Miller <davem@sunset.davemloft.net>2007-10-10 19:49:32 -0400
commit475fa49c125d914451805a9fb3cd1baa53591538 (patch)
tree8de2a03fe0542c9a088ad67784cee26b4fea7fa4 /net/mac80211
parent68aae11674b9d6598b660d1148ffba9eef3f895f (diff)
[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 <tomas.winkler@intel.com> Signed-off-by: John W. Linville <linville@tuxdriver.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/mac80211')
-rw-r--r--net/mac80211/tx.c1
1 files changed, 1 insertions, 0 deletions
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,
1901 } 1901 }
1902 sta = tx.sta; 1902 sta = tx.sta;
1903 tx.flags |= IEEE80211_TXRXD_TXPS_BUFFERED; 1903 tx.flags |= IEEE80211_TXRXD_TXPS_BUFFERED;
1904 tx.u.tx.mode = local->hw.conf.mode;
1904 1905
1905 for (handler = local->tx_handlers; *handler != NULL; handler++) { 1906 for (handler = local->tx_handlers; *handler != NULL; handler++) {
1906 res = (*handler)(&tx); 1907 res = (*handler)(&tx);