Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- diff -ru linux-3.10.12/drivers/net/wireless/rt2x00/rt2x00queue.c build_dir/target-mipsel_dsp_uClibc-0.9.33.2/linux-ramips_rt305x/linux-3.10.12/drivers/net/wireless/rt2x00/rt2x00queue.c
- --- linux-3.10.12/drivers/net/wireless/rt2x00/rt2x00queue.c 2013-09-14 17:55:12.000000000 +0400
- +++ build_dir/target-mipsel_dsp_uClibc-0.9.33.2/linux-ramips_rt305x/linux-3.10.12/drivers/net/wireless/rt2x00/rt2x00queue.c 2013-09-22 15:46:43.482533962 +0400
- @@ -645,6 +645,11 @@
- int ret = 0;
- /*
- + * That function must be called with bh disabled.
- + */
- + spin_lock(&queue->tx_lock);
- +
- + /*
- * Copy all TX descriptor information into txdesc,
- * after that we are free to use the skb->cb array
- * for our information.
- @@ -693,11 +698,6 @@
- else if (test_bit(REQUIRE_DMA, &queue->rt2x00dev->cap_flags))
- rt2x00queue_align_frame(skb);
- - /*
- - * That function must be called with bh disabled.
- - */
- - spin_lock(&queue->tx_lock);
- -
- if (unlikely(rt2x00queue_full(queue))) {
- rt2x00_err(queue->rt2x00dev, "Dropping frame due to full tx queue %d\n",
- queue->qid);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement