aboutsummaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorTomas Winkler <tomas.winkler@intel.com>2007-09-02 22:58:21 +0300
committerDavid S. Miller <davem@sunset.davemloft.net>2007-10-10 16:49:32 -0700
commit475fa49c125d914451805a9fb3cd1baa53591538 (patch)
tree8de2a03fe0542c9a088ad67784cee26b4fea7fa4 /net
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')
-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 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);