diff options
author | Gertjan van Wingerde <gwingerde@gmail.com> | 2011-03-03 21:46:09 +0300 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2011-03-04 22:06:49 +0300 |
commit | e74df4a7562da56a7e4dbf41ff167b2f44e84a50 (patch) | |
tree | a845c66206b7a7cb3425ae1b6c39608aaaeafabb /drivers/net/wireless/rt2x00/rt2x00.h | |
parent | 3736fe5808577f9d3a31a565ef4e78ceae250c98 (diff) | |
download | linux-e74df4a7562da56a7e4dbf41ff167b2f44e84a50.tar.xz |
rt2x00: Don't treat ATIM queue as second beacon queue.
Current code for the atim queue is strange, as it is considered in the
rt2x00_dev structure as a second beacon queue.
Normalize this by letting the atim queue have its own struct data_queue
pointer in the rt2x00_dev structure.
Signed-off-by: Gertjan van Wingerde <gwingerde@gmail.com>
Acked-by: Helmut Schaa <helmut.schaa@googlemail.com>
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/rt2x00.h')
-rw-r--r-- | drivers/net/wireless/rt2x00/rt2x00.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/net/wireless/rt2x00/rt2x00.h b/drivers/net/wireless/rt2x00/rt2x00.h index c28ee07fad9f..65636a7eba16 100644 --- a/drivers/net/wireless/rt2x00/rt2x00.h +++ b/drivers/net/wireless/rt2x00/rt2x00.h @@ -887,14 +887,13 @@ struct rt2x00_dev { struct work_struct txdone_work; /* - * Data queue arrays for RX, TX and Beacon. - * The Beacon array also contains the Atim queue - * if that is supported by the device. + * Data queue arrays for RX, TX, Beacon and ATIM. */ unsigned int data_queues; struct data_queue *rx; struct data_queue *tx; struct data_queue *bcn; + struct data_queue *atim; /* * Firmware image. |