commit | 3d8f162cb8ecd8cb5f77d92ed27bdc7d8aeb2bae | [log] [tgz] |
---|---|---|
author | Stanislaw Gruszka <sgruszka@redhat.com> | Tue Dec 19 12:33:55 2017 +0100 |
committer | Kalle Valo <kvalo@codeaurora.org> | Mon Jan 08 19:39:06 2018 +0200 |
tree | a7d4fd741c1fa7351dbd8156f45ae7f768031baa | |
parent | b713bbf1471b56b572ce26bd02b81a85c2b007f4 [diff] |
rt2x00: pause almost full queue early Do not drop &queue->tx_lock and acquire it again to pause queue when available entries are below the threshold. Patch should mitigate problem of frequently printed errors: "Error - Dropping frame due to full tx queue" Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com> Tested-by: Enrico Mioso@gmail.com Tested-by: Enrico Mioso <mrkiko.rs@gmail.com> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>