Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 266257
b: refs/heads/master
c: 17a68dd
h: refs/heads/master
i:
  266255: 3d4558a
v: v3
  • Loading branch information
Emmanuel Grumbach authored and John W. Linville committed Sep 19, 2011
1 parent d78e7d4 commit 8195104
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: d2c71c20789189cd01978efcbdd61231f5929eaf
refs/heads/master: 17a68dd7bc25b3671d54b3b371df9b5baf985b20
12 changes: 12 additions & 0 deletions trunk/drivers/net/wireless/iwlwifi/iwl-trans-rx-pcie.c
Original file line number Diff line number Diff line change
Expand Up @@ -398,6 +398,7 @@ static void iwl_rx_handle(struct iwl_trans *trans)

while (i != r) {
int len;
u16 txq_id, sequence;

rxb = rxq->queue[i];

Expand Down Expand Up @@ -437,6 +438,17 @@ static void iwl_rx_handle(struct iwl_trans *trans)
(pkt->hdr.cmd != STATISTICS_NOTIFICATION) &&
(pkt->hdr.cmd != REPLY_TX);

sequence = le16_to_cpu(pkt->hdr.sequence);
txq_id = SEQ_TO_QUEUE(le16_to_cpu(pkt->hdr.sequence));

/* warn if this is cmd response / notification and the uCode
* didn't set the SEQ_RX_FRAME for a frame that is
* uCode-originated*/
WARN(txq_id == trans->shrd->cmd_queue && reclaim == false &&
(!(pkt->hdr.sequence & SEQ_RX_FRAME)),
"reclaim is false, SEQ_RX_FRAME unset: %s\n",
get_cmd_string(pkt->hdr.cmd));

iwl_rx_dispatch(priv(trans), rxb);

/*
Expand Down

0 comments on commit 8195104

Please sign in to comment.