diff options
author | Gabor Juhos <juhosg@openwrt.org> | 2013-06-04 13:40:41 +0200 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2013-06-12 14:59:35 -0400 |
commit | 04453e9bda9da510e79c66f56ab463215d042aa8 (patch) | |
tree | 483778c5c9dd2aadf93df66478326c67fa5ddfb6 /samples/kfifo | |
parent | 56e8256351c358d7a2003f6fe10dcb5e2bc394f7 (diff) | |
download | blackbird-op-linux-04453e9bda9da510e79c66f56ab463215d042aa8.tar.gz blackbird-op-linux-04453e9bda9da510e79c66f56ab463215d042aa8.zip |
rt2x00: rt2x00queue: setup queue->threshold from queue->limit
Use the queue->limit value instead of the
qdesc->entry_num to compute the threshold.
The two source values are the same and the
data queue descriptor structure will be
removed by a later patch.
Also separate the computation from the rest
of the init code to make further changes
easier.
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
Acked-by: Stanislaw Gruszka <sgruszka@redhat.com>
Acked-by: Gertjan van Wingerde <gwingerde@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'samples/kfifo')
0 files changed, 0 insertions, 0 deletions