]> git.karo-electronics.de Git - linux-beck.git/commit
rt2x00: Optimize getting the beacon queue structure.
authorGertjan van Wingerde <gwingerde@gmail.com>
Thu, 3 Mar 2011 18:46:55 +0000 (19:46 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 4 Mar 2011 19:06:49 +0000 (14:06 -0500)
commita24408307e930e21912e82c125648400041d66fb
tree98e623fbeacc297ede100ba9d8da1e1e5c588dc2
parent61c6e4893f3070b6473ca4ec3176c7471d44278b
rt2x00: Optimize getting the beacon queue structure.

In the spirit of optimizing the code to get the queue structure of TX queues,
also optimize the code to get beacon queues. We can simply use the bcn queue
field of the rt2x00_dev structure instead of using the rt2x00queue_get_queue
function.

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>
drivers/net/wireless/rt2x00/rt2500pci.c
drivers/net/wireless/rt2x00/rt2x00mac.c