]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit308e3ccb59d34f4b80a0f5ee7a046bf4c28dfe5c
treedc18e8279f8545bd874e1495cb53558df5de43ab
parent1d8f4d7612ea32b254f14a15964cc3b8476c7cc2
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