aboutsummaryrefslogtreecommitdiffstats
path: root/net/mac80211/tx.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/mac80211/tx.c')
-rw-r--r--net/mac80211/tx.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/mac80211/tx.c b/net/mac80211/tx.c
index 4f951e78df15..82474a8f251b 100644
--- a/net/mac80211/tx.c
+++ b/net/mac80211/tx.c
@@ -419,11 +419,11 @@ ieee80211_tx_h_unicast_ps_buf(struct ieee80211_txrx_data *tx)
419 tx->local->total_ps_buffered++; 419 tx->local->total_ps_buffered++;
420 /* Queue frame to be sent after STA sends an PS Poll frame */ 420 /* Queue frame to be sent after STA sends an PS Poll frame */
421 if (skb_queue_empty(&sta->ps_tx_buf)) { 421 if (skb_queue_empty(&sta->ps_tx_buf)) {
422 if (tx->sdata->bss)
423 bss_tim_set(tx->local, tx->sdata->bss, sta->aid);
422 if (tx->local->ops->set_tim) 424 if (tx->local->ops->set_tim)
423 tx->local->ops->set_tim(local_to_hw(tx->local), 425 tx->local->ops->set_tim(local_to_hw(tx->local),
424 sta->aid, 1); 426 sta->aid, 1);
425 if (tx->sdata->bss)
426 bss_tim_set(tx->local, tx->sdata->bss, sta->aid);
427 } 427 }
428 pkt_data = (struct ieee80211_tx_packet_data *)tx->skb->cb; 428 pkt_data = (struct ieee80211_tx_packet_data *)tx->skb->cb;
429 pkt_data->jiffies = jiffies; 429 pkt_data->jiffies = jiffies;