rt2x00: Move filling of TX URB to rt2x00usb_kick_tx_entry function.
authorGertjan van Wingerde <gwingerde@gmail.com>
Tue, 29 Jun 2010 19:40:34 +0000 (21:40 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 30 Jun 2010 19:00:49 +0000 (15:00 -0400)
commitfe7256971fbaeac868c35c2dbd34a7bbbdc0622b
tree78b4b4c37c5b0578813810fc8a3c60162d9c67d6
parent398ab9ea74f06eb98e4b28c2e9b43bf43e8730ab
rt2x00: Move filling of TX URB to rt2x00usb_kick_tx_entry function.

There is no need to fill the TX URB this early, and moving it to the
rt2x00usb_kick_tx_entry function allows us to merge the PCI and USB
variants of the write_tx_data function.

Signed-off-by: Gertjan van Wingerde <gwingerde@gmail.com>
Signed-off-by: Ivo van Doorn <IvDoorn@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/rt2x00/rt2x00usb.c