]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitc11e65ad39267e06673994c9065a8a06602a1d10
tree202139181220371c6e6e91de1785ee1c6cfe0d3f
parent0b8dd624e45c26f0ab9e1fddbd1ed079b79a4882
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