rt2800usb: Let rt2x00usb handle USB padding
authorJakub Kiciński <kubakici@wp.pl>
Wed, 28 Dec 2011 00:53:21 +0000 (01:53 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 4 Jan 2012 19:31:46 +0000 (14:31 -0500)
commit4bcafac8c64e015775fcb844f643c2c70115bf46
treedc18e8279f8545bd874e1495cb53558df5de43ab
parent5aa570159090b8bcf1357ef92386c24ff32d76d2
rt2800usb: Let rt2x00usb handle USB padding

Older USB drivers does not append end padding to skb but instead report
it in size of data to be transmitted to HW. rt2800usb should follow that
behaviour. Custom write_tx_data callback which was adding pad to skb
is not be needed any more.

Thanks to this patch frames handed back from rt2800usb to mac80211 will
no longer contain end padding.

Signed-off-by: Jakub Kicinski <kubakici@wp.pl>
Signed-off-by: Gertjan van Wingerde <gwingerde@gmail.com>
Acked-by: Ivo van Doorn <IvDoorn@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/rt2x00/rt2800usb.c