rt2x00: rt2800usb: implement queue_init callback
authorGabor Juhos <juhosg@openwrt.org>
Tue, 4 Jun 2013 11:40:43 +0000 (13:40 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 12 Jun 2013 18:59:35 +0000 (14:59 -0400)
commitd36d13a3ec1ef25c411d39c1e14dd2cdff98edbb
tree202139181220371c6e6e91de1785ee1c6cfe0d3f
parent25bf6ce41d2692db2e991447015fb4bfbf3c3982
rt2x00: rt2800usb: implement queue_init callback

The generic rt2x00 code has been changed to allow the
drivers toimplement dynamic data_queue initialization.

Remove the static data queue descriptor structures
and implement the queue_init callback instead.

The actual chipset is already known when the callback
is used. This allows us to use a single callback for
all supported devices.

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