Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 290382
b: refs/heads/master
c: d1e14e9
h: refs/heads/master
v: v3
  • Loading branch information
Stanislaw Gruszka authored and John W. Linville committed Feb 6, 2012
1 parent ac76589 commit 5c5b1cd
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 17 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 6aa0c25435e6383d4a4af88fae8d128200dcd471
refs/heads/master: d1e14e942430cd42df9913337aebbcaef53e4515
17 changes: 4 additions & 13 deletions trunk/drivers/net/wireless/iwlegacy/4965-mac.c
Original file line number Diff line number Diff line change
Expand Up @@ -1708,19 +1708,10 @@ il4965_tx_skb(struct il_priv *il, struct sk_buff *skb)
il4965_sta_modify_sleep_tx_count(il, sta_id, 1);
}

/*
* Send this frame after DTIM -- there's a special queue
* reserved for this for contexts that support AP mode.
*/
if (info->flags & IEEE80211_TX_CTL_SEND_AFTER_DTIM) {
txq_id = ctx->mcast_queue;
/*
* The microcode will clear the more data
* bit in the last frame it transmits.
*/
hdr->frame_control |= cpu_to_le16(IEEE80211_FCTL_MOREDATA);
} else
txq_id = ctx->ac_to_queue[skb_get_queue_mapping(skb)];
/* FIXME: remove me ? */
WARN_ON_ONCE(info->flags & IEEE80211_TX_CTL_SEND_AFTER_DTIM);

txq_id = ctx->ac_to_queue[skb_get_queue_mapping(skb)];

/* irqs already disabled/saved above when locking il->lock */
spin_lock(&il->sta_lock);
Expand Down
3 changes: 0 additions & 3 deletions trunk/drivers/net/wireless/iwlegacy/common.h
Original file line number Diff line number Diff line change
Expand Up @@ -1157,7 +1157,6 @@ struct il_rxon_context {

const u8 *ac_to_fifo;
const u8 *ac_to_queue;
u8 mcast_queue;

/*
* We could use the vif to indicate active, but we
Expand All @@ -1166,8 +1165,6 @@ struct il_rxon_context {
*/
bool always_active, is_active;

bool ht_need_multiple_chains;

u32 interface_modes, exclusive_interface_modes;

struct il_qos_info qos_data;
Expand Down

0 comments on commit 5c5b1cd

Please sign in to comment.