From: Ivo van Doorn Date: Sun, 10 Feb 2008 21:51:21 +0000 (+0100) Subject: rt2x00: Fix skbdesc->data_len initialization X-Git-Tag: v2.6.26-rc1~1138^2~530^2~41 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=647d0ca905f7d975e0bf41f571de6f443c814913;p=pandora-kernel.git rt2x00: Fix skbdesc->data_len initialization skbdesc->data_len was not initialized correctly in rt2x00pci, rt2x00usb, rt2500usb and rt73usb. The value was set to queue->data_size which means that the incorrect frame size was pased to the upper layers. Correctly base the value on either the skb->len, or the rx frame size passed to the driver by the device. Signed-off-by: Ivo van Doorn Signed-off-by: John W. Linville --- Reading git-diff-tree failed