Luis Rodriguez wrote: > ath_test_get_txq() will not return the queue only if the queue is > getting full. What the check above guarantees is we have at least one > buffer to run through procesq before disabling the TX queue, otherwise > the queue won't be be woken up. Or am I missing something? That is, > say you just have to TX one skb and we hit -ENOMEM on > ath_tx_setup_buffer() and you disable the queue. How will this queue > be awoken if this is true in ath_tx_processq(): > > list_empty(&txq->axq_q)
Ok, makes sense. But the queue can be obtained from txctl, so that code can be removed. Sujith _______________________________________________ ath9k-devel mailing list ath9k-devel@lists.ath9k.org https://lists.ath9k.org/mailman/listinfo/ath9k-devel