diff options
author | Ivo van Doorn <ivdoorn@gmail.com> | 2008-08-29 15:05:45 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2008-08-29 16:24:12 -0400 |
commit | 2af0a570b45ec315f364ea2c8a6d072cfcaa9d32 (patch) | |
tree | c3570f4c9bb0d24bef857977e5251b04309b95ad /drivers/net/wireless/rt2x00/rt2x00queue.c | |
parent | 2575c11d6ee7266f0f035e55c5056b36597cd336 (diff) |
rt2x00: Initialize txop during conf_tx() callback
The txop parameter is supported by rt61pci and rt73usb,
and thus should be written to the register instead
of using the fixed value set during initialization.
Signed-off-by: Ivo van Doorn <IvDoorn@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/rt2x00/rt2x00queue.c')
-rw-r--r-- | drivers/net/wireless/rt2x00/rt2x00queue.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/wireless/rt2x00/rt2x00queue.c b/drivers/net/wireless/rt2x00/rt2x00queue.c index 2822684c505e..a5e965068c83 100644 --- a/drivers/net/wireless/rt2x00/rt2x00queue.c +++ b/drivers/net/wireless/rt2x00/rt2x00queue.c | |||
@@ -736,6 +736,7 @@ static void rt2x00queue_init(struct rt2x00_dev *rt2x00dev, | |||
736 | 736 | ||
737 | queue->rt2x00dev = rt2x00dev; | 737 | queue->rt2x00dev = rt2x00dev; |
738 | queue->qid = qid; | 738 | queue->qid = qid; |
739 | queue->txop = 0; | ||
739 | queue->aifs = 2; | 740 | queue->aifs = 2; |
740 | queue->cw_min = 5; | 741 | queue->cw_min = 5; |
741 | queue->cw_max = 10; | 742 | queue->cw_max = 10; |