From: Ivo van Doorn Date: Thu, 10 Jan 2008 21:02:44 +0000 (+0100) Subject: rt2x00: Data and desc pointer initialization X-Git-Tag: v2.6.25-rc1~1162^2~137 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=40561b8426c27f187e2ae496ed603e7c4e3ab818;p=pandora-kernel.git rt2x00: Data and desc pointer initialization rt2500usb and rt73usb data and desc pointer initialization was incorrect because it was using uninitialized variables to determine the length. In addition rt2500usb used skb_pull and removed the ieee80211 from each received frame instead of using skb_trim to remove the device descriptor from the frame. Finally this also fixes the descriptor override when 4 byte aligning occured. We still need a completely valid descriptor when using the TX/RX dumping capabilities in debugfs. Signed-off-by: Ivo van Doorn Signed-off-by: John W. Linville --- Reading git-diff-tree failed