Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 202735
b: refs/heads/master
c: b80841c
h: refs/heads/master
i:
  202733: 5896110
  202731: 0c9d688
  202727: e717d3b
  202719: 58a86d5
v: v3
  • Loading branch information
Sujith authored and John W. Linville committed Jun 2, 2010
1 parent bd5524a commit 83c83b5
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 11 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: ca74b83b66dbd289a395c6243695d746c76676cc
refs/heads/master: b80841c91f42dc048a60bff5e1614a619f725e38
19 changes: 9 additions & 10 deletions trunk/drivers/net/wireless/ath/ath9k/htc_drv_txrx.c
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ int ath9k_htc_tx_start(struct ath9k_htc_priv *priv, struct sk_buff *skb)
struct ath9k_htc_vif *avp;
struct ath9k_htc_tx_ctl tx_ctl;
enum htc_endpoint_id epid;
u16 qnum, hw_qnum;
u16 qnum;
__le16 fc;
u8 *tx_fhdr;
u8 sta_idx;
Expand Down Expand Up @@ -141,22 +141,21 @@ int ath9k_htc_tx_start(struct ath9k_htc_priv *priv, struct sk_buff *skb)
memcpy(tx_fhdr, (u8 *) &tx_hdr, sizeof(tx_hdr));

qnum = skb_get_queue_mapping(skb);
hw_qnum = get_hw_qnum(qnum, priv->hwq_map);

switch (hw_qnum) {
switch (qnum) {
case 0:
TX_QSTAT_INC(WME_AC_BE);
epid = priv->data_be_ep;
TX_QSTAT_INC(WME_AC_VO);
epid = priv->data_vo_ep;
break;
case 2:
case 1:
TX_QSTAT_INC(WME_AC_VI);
epid = priv->data_vi_ep;
break;
case 3:
TX_QSTAT_INC(WME_AC_VO);
epid = priv->data_vo_ep;
case 2:
TX_QSTAT_INC(WME_AC_BE);
epid = priv->data_be_ep;
break;
case 1:
case 3:
default:
TX_QSTAT_INC(WME_AC_BK);
epid = priv->data_bk_ep;
Expand Down

0 comments on commit 83c83b5

Please sign in to comment.